1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/library/files
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
..
acl Fixed documentation for etype parameter on acl module. 2014-05-27 13:34:01 -04:00
assemble unified calls to fs function vs duplicate functions for file and 2014-05-24 09:28:45 -04:00
copy unified calls to fs function vs duplicate functions for file and 2014-05-24 09:28:45 -04:00
fetch There's a cleaner way to do this, commit to module formatter pending. 2013-11-27 21:23:03 -05:00
file Fix issue with symlink path detection 2014-06-04 23:31:59 -05:00
ini_file unified calls to fs function vs duplicate functions for file and 2014-05-24 09:28:45 -04:00
lineinfile Bugfix to lineinfile to properly handle files with no newline at EOF when using insertafter=EOF. 2014-06-09 19:58:45 +03:00
replace Merge branch 'devel' of https://github.com/jjshoe/ansible into jjshoe-devel 2014-05-09 00:31:39 -05:00
stat now stat skips md5 if file isn't readable 2014-03-11 22:50:05 -04:00
synchronize Minor tweak to rsync_path construction in synchronize module 2014-04-29 15:47:16 -05:00
template Fixes #6929 remote file module doc fragments from copy and template 2014-04-10 16:06:35 -04:00
unarchive Get the bin path for commands in the unarchive module 2014-04-15 20:39:22 -05:00
xattr Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00