Ansible Pilot
About
Contact
Academy
Articles
debug
Jan 18, 22
Break a string over multiple lines - Ansible Literal and Folded Block Scalar operators
How to use multi-line YAML variables in Ansible using the "|", Literal Block Scalar, and the ">", Folded Block Scalar, operators. Plus how to elide the new line "\n" at the end of the line and print multi-line with debug module on a terminal.
#ansible
#debug
#module
#code
#variables
#playbook
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