community.general/lib/ansible/modules
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
..
cloud Annotate boto3 dependency in the standard location. 2017-01-13 14:36:17 -05:00
clustering Add pacemaker cluster module for being managable with ansible (#19594) 2017-01-03 15:50:00 +00:00
commands updated docs to suggest quote filter for shells 2017-01-10 16:19:22 -05:00
crypto Relocating extras into lib/ansible/modules/ after merge 2016-12-08 11:35:18 -05:00
database Move some modules into proper categories 2017-01-04 18:09:45 -08:00
files Consistent path attribute for file-related modules 2017-01-13 15:49:42 -05:00
identity minor spelling changes 2016-12-13 13:51:13 -05:00
inventory
messaging Fix code-blocks to use correct syntax highlighting 2017-01-08 09:18:45 -08:00
monitoring icinga2_feature: Set LANG since we rely on the output by using regex (#19742) 2016-12-30 09:06:49 +01:00
network Updates uri to use six for isinstance comparison for py3 compatibility (#20239) 2017-01-13 13:16:21 -06:00
notification Added some clarity on the token confusion. (#19473) 2016-12-19 13:42:31 +00:00
packaging maven_artifact: Make default repository_url work again (#19194) 2017-01-11 18:59:00 -05:00
remote_management Stacki host module (#19532) 2016-12-22 13:53:05 +00:00
source_control Document git module return values (#19485) 2017-01-08 15:33:51 +00:00
storage Modules for gathering facts about ZFS datasets and pools (#19181) 2017-01-09 07:53:42 +00:00
system Consistent path attribute for file-related modules 2017-01-13 15:49:42 -05:00
univention Improve the dependency on univention (aka: declare it and fail nicely if it is not present) (#18840) 2016-12-09 08:39:40 -05:00
utilities Use M() to link to the replacement module. (#19976) 2017-01-06 16:21:39 +00:00
web_infrastructure Update option desc of yum_repository module 2017-01-09 09:55:47 -05:00
windows Consistent path attribute for file-related modules 2017-01-13 15:49:42 -05:00
__init__.py Re-adding the init py for modules 2016-12-08 11:35:20 -05:00