community.general/lib/ansible/modules/files
Mehran Kholdi ecfa7f696d Enforce `state='file'` in `copy` module
This was causing wrong behaviour when `prev_state` was `hard`-link,
since the `file` module tried to apply the same `state` on the new
file, causing unexpected errors.

Particularly, both `overlay` and `devicemapper` storage drivers in
docker use hardlinks to share files between layers. This causes
most ansible playbooks to fail when working with files from layers
below.
2017-08-17 18:16:17 -07:00
..
__init__.py
acl.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
archive.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
assemble.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
blockinfile.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
copy.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
fetch.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
file.py Enforce `state='file'` in `copy` module 2017-08-17 18:16:17 -07:00
find.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ini_file.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
iso_extract.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
lineinfile.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
patch.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
replace.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
stat.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
synchronize.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
tempfile.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
template.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
unarchive.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
xattr.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
xml.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00