mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-08 09:14:13 +00:00
When using YAML multi-line strings, e.g.:
- lineinfile:
dest: /tmp/foo
line: >
foo
bar
the line already ends with a newline. If an extra newline is appended unconditionally it will lead to inserting an extra newline on each run.
|
||
|---|---|---|
| .. | ||
| ansible | ||