ansible/test/integration/roles/test_lineinfile
Ahti Kitsik 1caf9be109 Bugfix to lineinfile to properly handle files with no newline at EOF when using insertafter=EOF.
Looks like #6881 is also affected by this bug.

Currently when using lineinfile insertafter=EOF for a file that has no newline then the added line is not prefixed with a newline.
As a concrete example, ubuntu distro default /etc/ssh/sshd_config has no newline so lineinfile module cannot be used to add a new line to the end of the file.
2014-06-09 19:58:45 +03:00
..
files Bugfix to lineinfile to properly handle files with no newline at EOF when using insertafter=EOF. 2014-06-09 19:58:45 +03:00
meta Rename tests to test, use old directory name. 2014-02-20 19:11:15 -05:00
tasks Bugfix to lineinfile to properly handle files with no newline at EOF when using insertafter=EOF. 2014-06-09 19:58:45 +03:00