community.general/lib/ansible
Dag Wieers 1ad55ec9de Consistent path attribute for file-related modules
Not all file-related modules consistently use "path" as the attribute to specify a single filename, some use "dest", others use "name". Most do have aliases for either "name" or "destfile".

This change makes "path" the default attribute for (single) file-related modules, but also adds "dest" and "name" as aliases, so that people can use a consistent way of attributing paths, but also to ensure backward compatibility with existing playbooks.

NOTE: The reason for changing this, is that it makes Ansible needlessly harder to use if you have to remember that e.g. the xattr module requires the name attribute, the lineinfile module requires a dest attribute, and the stat module requires a path attribute.
2017-01-13 15:49:42 -05:00
..
cli ansible doc does not need plugin deprecation error 2017-01-12 13:09:15 -05:00
compat Fix role completion detection problem 2017-01-03 14:32:44 -06:00
config
errors adds feature to all modules to be run locally (#18763) 2016-12-15 15:47:29 -05:00
executor Configurable fact path (#18147) 2017-01-12 10:49:04 -05:00
galaxy Previous fix to this failed to account for open_url returning a filehandle (#20097) 2017-01-10 18:14:20 -08:00
inventory fix indent (#20071) 2017-01-10 18:47:03 -08:00
module_utils module_utils/dimensiondata (#17604) 2017-01-12 20:50:43 -08:00
modules Consistent path attribute for file-related modules 2017-01-13 15:49:42 -05:00
parsing Make ModuleArgsParser more understandable (#13974) 2017-01-12 18:22:54 -08:00
playbook Configurable fact path (#18147) 2017-01-12 10:49:04 -05:00
plugins removed bad iteration from execute meta (#19958) 2017-01-13 14:51:39 -05:00
template no calls plz 2017-01-12 10:35:26 -05:00
utils Contributing new module to manage HUAWEI data center CloudEngine switch. (#19793) 2017-01-03 22:30:59 -05:00
vars Fixing another corner case for security related to CVE-2016-9587 2017-01-11 15:52:58 -06:00
__init__.py
constants.py better cleaning of module return, also warn 2017-01-13 12:12:56 -05:00
release.py
test-requirements.txt Switch tests to pytest and ansible-test. 2017-01-11 12:34:59 -08:00