Ansible Pilot
About
Contact
Academy
Articles
variable
Mar 9, 22
Ansible troubleshooting - VARIABLE IS NOT DEFINED! ansible_hostname
Root cause analysis when the variable is not misspelled or not defined using the ansible_hostname internal variable and gather_facts boolean.
#ansible
#troubleshooting
#variable
#undefined
Jan 15, 22
How to Pass Variables to Ansible Playbook in command line? - Ansible extra variables
How to pass or override an Ansible Playbook variable from the command line in plaintext, JSON, or YAML. Very useful to combine some script, automation, or shell variables. Example with fruit variable defined as “banana” and changed to “apple” or “raspberry”.
#ansible
#code
#variable
#extra
#linux
#devops
Nov 18, 21
Ansible troubleshooting - undefined variable
How to reproduce the undefined variable error in Ansible, troubleshooting, and fix to be able to successfully print the value of a variable on screen.
#ansible
#troubleshooting
#undefined
#variable
Aug 3, 21
Print text or variable during execution - Ansible module debug
Some real-life examples from print “Hello world!”, print a text, print a variable, print a combination of text and variable and set the verbosity level.
#ansible
#debug
#module
#text
#variable
#variables
Follow me
Subscribe not to miss any new releases
Search
Results
No results found
Try adjusting your search query