community.general/lib/ansible/modules/files
Dag Wieers e152b277cf Use locking for concurrent file access (#52567)
* Use locking for concurrent file access

This implements locking to be used for modules that are used for
concurrent file access, like lineinfile or known_hosts.

* Reinstate lock_timeout

This commit includes:
- New file locking infrastructure for modules
- Enable timeout tests
- Madifications to support concurrency with lineinfile

* Rebase, update changelog and tests

We need to specify ansible_python_interpreter to avoid running interpreter discovery and selecting the incorrect interpreter.

Remove the import of lock in known_hosts since it is not used.
2019-03-27 20:20:18 -04:00
..
__init__.py package files 2016-12-08 11:22:22 -05:00
acl.py Fix parameter types and other fixes (#50111) 2019-01-18 03:24:47 +01:00
archive.py Add force_archive option to archive module to allow archiving and compression of single files (#49429) 2019-03-19 21:11:08 -04:00
assemble.py assemble: avoid extra newline on Python 3 (#54176) 2019-03-22 09:14:02 -05:00
blockinfile.py blockinfile: don't use aliases in documentation exemples (#52220) 2019-02-18 15:19:49 -05:00
copy.py Clarify use of variables in content parameter in copy module (#50940) 2019-01-29 15:36:06 -05:00
fetch.py Fix parameter types and other fixes (#50111) 2019-01-18 03:24:47 +01:00
file.py file: add doc on how to convert epoch seconds to datetime (#53357) 2019-03-07 12:40:10 +10:00
find.py Clarify restrictions of excludes property in find module. (#49549) 2019-02-26 16:06:06 -05:00
ini_file.py Fix parameter types and other fixes (#50111) 2019-01-18 03:24:47 +01:00
iso_extract.py Fix parameter types and other fixes (#50111) 2019-01-18 03:24:47 +01:00
lineinfile.py Use locking for concurrent file access (#52567) 2019-03-27 20:20:18 -04:00
patch.py Fix parameter types and other fixes (#50111) 2019-01-18 03:24:47 +01:00
read_csv.py Sanity fixes in various modules (#50080) 2018-12-18 09:53:46 -06:00
replace.py replace - fixed combined before and after usage (#31452) 2019-03-26 11:49:58 -04:00
stat.py Fix parameter types and other fixes (#50111) 2019-01-18 03:24:47 +01:00
synchronize.py validate-modules: Fix some files modules (#52440) 2019-02-25 13:29:31 +01:00
tempfile.py Fix parameter types and other fixes (#50111) 2019-01-18 03:24:47 +01:00
template.py template: add additional variable for dest path (#52015) 2019-02-19 14:15:19 +05:30
unarchive.py Add two more failure conditions to unarchive (#51914) 2019-02-13 13:40:26 -05:00
xattr.py Fix parameter types and other fixes (#50111) 2019-01-18 03:24:47 +01:00
xml.py Introduce new 'required_by' argument_spec option (#28662) 2019-02-15 10:57:45 +10:00