community.general/lib/ansible/modules/files
Jeff Bradberry 60ed80f99a Fix breakage in lineinfile check mode when target file does not exist.
Similarly to https://github.com/ansible/ansible/issues/6182, checking of the file attributes should be avoided in check mode when the file didn't originally exist.

Also, avoid creating parent directories in check mode.

Fixes https://github.com/ansible/ansible/issues/9546
2016-12-08 11:22:33 -05:00
..
__init__.py package files 2016-12-08 11:22:22 -05:00
acl.py file extensions! 2016-12-08 11:22:22 -05:00
assemble.py Move from md5 to sha1 to work on FIPS-140 enabled systems 2016-12-08 11:22:25 -05:00
copy.py Fix old ticket #9092 where a playbook can enter in recursion 2016-12-08 11:22:30 -05:00
fetch.py Move from md5 to sha1 to work on FIPS-140 enabled systems 2016-12-08 11:22:25 -05:00
file.py Fixes #9518 - "file state=directory" silently skips if it's currently a file 2016-12-08 11:22:33 -05:00
ini_file.py Adding file doc fragment to those modules in files/ missing it 2016-12-08 11:22:23 -05:00
lineinfile.py Fix breakage in lineinfile check mode when target file does not exist. 2016-12-08 11:22:33 -05:00
replace.py Adding file doc fragment to those modules in files/ missing it 2016-12-08 11:22:23 -05:00
stat.py Move from md5 to sha1 to work on FIPS-140 enabled systems 2016-12-08 11:22:25 -05:00
synchronize.py Note that rsync must be installed on both local & remote machine 2016-12-08 11:22:31 -05:00
template.py file extensions! 2016-12-08 11:22:22 -05:00
unarchive.py Remove redundant check for creates argument. 2016-12-08 11:22:23 -05:00
xattr.py file extensions! 2016-12-08 11:22:22 -05:00