Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Ansible tips & tricks | ||||||||
Line: 14 to 14 | ||||||||
dictionary: key1: "value 1" key2: "value 2" | ||||||||
Added: | ||||||||
> > |
YAML syntaxSplit long linesUse a backslash (\) to split long lines:- fail: msg: "This is the first part \ and second part of the string"Results in: fatal: [localhost]: FAILED! => {"changed": false, "msg": "This is the first part and second part of the string"} For other ways of splitting long lines, see: https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-in-yaml-over-multiple-lines | |||||||
Dump all variables |