$ pip install ansible-inventory-grapher
# DOT files are stored in ./graphs folder
$ ansible-inventory-grapher -i hosts.ini -d graphs -o loncar_net.dot --visible-vars=ansible_host --visible-vars=ansible_user loncar_net
# The resulting graphs can then be converted to pngs using this command. Assuming the DOT files are stored in graphs folder
$ for f in graphs/*.dot ; do dot -Tpng -o graphs/`basename $f .dot`.png $f; done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Upload the package | |
| mvn -s user-settings.xml deploy:deploy-file \ | |
| -Durl=https://artifactory.hostname.com/maven-release \ | |
| -DrepositoryId=central \ | |
| -Dfile="my-package-1.0.0.zip" \ | |
| -DgroupId=com.package.my \ | |
| -DartifactId=my-package \ | |
| -Dversion=1.0.0 \ | |
| -Dpackaging=zip \ | |
| -DgeneratePom=false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| stage('NPM: Config') { | |
| withCredentials([usernamePassword(credentialsId: nexusCredentialsId, passwordVariable: 'NEXUS_PASSWORD', usernameVariable: 'NEXUS_USERNAME')]) { | |
| def token = sh(returnStdout: true, script: "set +x && curl -s -k -H \"Accept: application/json\" -H \"Content-Type:application/json\" -X PUT --data '{\"name\": \"$NEXUS_USERNAME\", \"password\": \"$NEXUS_PASSWORD\"}' https://nexus-repository.net:8088/repository/my-npm/-/user/org.couchdb.user:$NEXUS_USERNAME 2>&1 | grep -Po '(?<=\"token\":\")[^\"]*'") | |
| sh "set +x && echo \"//nexus-repository.net:8088/repository/my-npm/:_authToken=$token\" >> .npmrc" | |
| } | |
| } |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - name: Verify | |
| hosts: all | |
| tasks: | |
| - name: Gather the package manager facts | |
| package_facts: | |
| manager: auto |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Angular CLI version | Angular version | Node.js version | TypeScript version | |
|---|---|---|---|---|
| - | 2.x | 6.0.x or later minor version | 2.0.x | |
| 1.0.6 | 4.0.x/4.1.x | 6.9.x or later minor version | 2.2.x | |
| 1.1.3 | 4.0.x/4.1.x | 6.9.x or later minor version | 2.3.x | |
| 1.2.7 | 4.0.x/4.1.x | 6.9.x or later minor version | 2.3.x | |
| 1.3.2 | 4.2.x/4.3.x/4.4.x | 6.9.x or later minor version | 2.4.x | |
| 1.4.10 | 4.2.x/4.3.x/4.4.x | 6.9.x/8.9.x or later minor version | 2.4.x | |
| 1.5.6 | 5.0.x/5.1.x | 6.9.x/8.9.x or later minor version | 2.4.x/2.5.x | |
| 1.6.7 | 5.2.x | 6.9.x/8.9.x or later minor version | 2.5.x | |
| 1.7.4 | 5.2.x | 6.9.x/8.9.x or later minor version | 2.5.x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "basics": { | |
| "name": "Ales Loncar", | |
| "image": "https://resume.loncar.net/picture.png", | |
| "label": "Senior Cloud & DevOps Engineer | Automation Specialist", | |
| "summary": "Accomplished freelance Cloud and DevOps Engineer with 20+ years of experience delivering production-grade, cloud-native, containerized, and automated solutions. Specializes in infrastructure as code, CI/CD pipelines, platform engineering, and DevSecOps practices to streamline deployment, enhance security, and improve developer experience. Combines a software engineering mindset with deep DevOps expertise to architect and implement scalable, secure, and resilient platforms. Passionate about automation, continuous improvement, and mentoring teams in modern engineering practices.", | |
| "headline": "Freelance Cloud & DevOps Engineer | Platform Engineer | Kubernetes | CI/CD | DevSecOps", | |
| "keywords": [ | |
| "Cloud", | |
| "DevOps", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "ignition": { | |
| "version": "3.0.0" | |
| }, | |
| "passwd": { | |
| "users": [ | |
| { | |
| "name": "core", | |
| "passwordHash": "$6$rounds=4096$NxaeyFQ5iHofiyD1$nCts0MNF5fFPdVMTCqu.OA3H1MM7w/vqtXPrjwUUrutWDe1ylyaL7shyTB.M8Berc81K9ZNV1W4NevWmtplZq.", | |
| "sshAuthorizedKeys": [ |
OlderNewer