community.general/lib/ansible/modules/files
Toshio Kuratomi cac11f9b80 Port away from fail_json()
Use an exception to return failures rather than fail_json().  This way
we can easily catch the failures if the calling code decides it can deal
with it.  This has the side effect of making it easier to unittest this
code as we can catch the expected exceptions instead of having to catch
the interpreter exiting and then parse stdout for the expected data.
2018-05-11 06:35:03 -07:00
..
__init__.py package files 2016-12-08 11:22:22 -05:00
acl.py Remove deprecated get_exception API 2018-02-05 23:39:56 -05:00
archive.py archive: Add support for xz (#34110) 2018-01-22 07:33:07 -05:00
assemble.py now get_url defaults to module temp dir (#36218) 2018-02-20 08:40:45 -05:00
blockinfile.py now get_url defaults to module temp dir (#36218) 2018-02-20 08:40:45 -05:00
copy.py Fixes for mode=preserve (#39343) 2018-04-26 07:14:37 -07:00
fetch.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
file.py Port away from fail_json() 2018-05-11 06:35:03 -07:00
find.py Optimize file handling in the find module (#38192) 2018-04-10 09:01:44 -07:00
ini_file.py ini_file: add allow_no_value param (#24442) 2018-03-05 17:05:41 +01:00
iso_extract.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
lineinfile.py minor wording changes to remove ambiguity 2018-02-28 16:47:41 -05:00
patch.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
replace.py now get_url defaults to module temp dir (#36218) 2018-02-20 08:40:45 -05:00
stat.py removed Queen's english from documentation 2017-11-28 10:03:36 +10:00
synchronize.py dedupe the --rsh options in favor of user supplied (#38096) 2018-03-29 09:32:27 -05:00
tempfile.py tempfile: PEP8 compliancy, pylint and docs (#30859) 2017-10-30 00:51:19 +01:00
template.py Fixes for mode=preserve (#39343) 2018-04-26 07:14:37 -07:00
unarchive.py Add example to clear the usage of `extra_opts` (#31873) 2018-04-03 05:03:11 -04:00
xattr.py Remove deprecated get_exception API 2018-02-05 23:39:56 -05:00
xml.py Update xml.py (#38019) 2018-03-28 07:47:28 +02:00