Ansible Pilot
About
Contact
Book
Video
Articles
playbok
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
#syntax
Red Hat Security Bulletin
FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress
Follow me
Subscribe not to miss any new releases
Search
Results
No results found
Try adjusting your search query
x
x