How would one specify the multiline strings that have leading spaces on some lines?
If I define a variable as
multiline_str: |
foo
bar
baz
And then write it to a file using
- name: write multiline string
copy: content="{{ multiline_str }}" dest="/path/to/file"
Then the target file contents is
foo
bar
baz
What is the trick here?