Having some trouble with having a colon as part of a playbook YAML key value pair using v0.7.1
playbook text:
Having some trouble with having a colon as part of a playbook YAML key value pair using v0.7.1
playbook text:
Yes, we're aware.
YAML is otherwise mostly wonderful, but if you have a colon, you have
to quote the line.
Like so:
foo: "This line: has a colon, it it"
Hi Jonathan,
This is the same problem we had last for lineinfile.
The undocumented solution is to quote the entire line after action
keyword and double quotes for the arguments.
ex. action: 'lineinfile ...'
Rodney
This is clearly documented in YAML, we might want to note it and other YAML specifics in the playbook section.
Many thanks, gentleman. Duly noted.
</mobile email>