mirror of https://github.com/ansible/ansible.git
Do not insert extra newline if line already contains it
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.pull/18777/head
parent
9ad15cdae9
commit
fd69c5687b
Loading…
Reference in New Issue