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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
acl | Loading commit data... | |
assemble | Loading commit data... | |
copy | Loading commit data... | |
fetch | Loading commit data... | |
file | Loading commit data... | |
ini_file | Loading commit data... | |
lineinfile | Loading commit data... | |
replace | Loading commit data... | |
stat | Loading commit data... | |
synchronize | Loading commit data... | |
template | Loading commit data... | |
unarchive | Loading commit data... | |
xattr | Loading commit data... |