mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 19:01:26 -07:00
Improve comments about file_commmon_arguments
This commit is contained in:
parent
160f2ace51
commit
e17ee368e3
1 changed files with 3 additions and 2 deletions
|
@ -217,7 +217,8 @@ _ANSIBLE_ARGS = None
|
||||||
|
|
||||||
FILE_COMMON_ARGUMENTS = dict(
|
FILE_COMMON_ARGUMENTS = dict(
|
||||||
# These are things we want. About setting metadata (mode, ownership, permissions in general) on
|
# These are things we want. About setting metadata (mode, ownership, permissions in general) on
|
||||||
# created files
|
# created files (these are used by set_fs_attributes_if_different and included in
|
||||||
|
# load_file_common_arguments)
|
||||||
mode=dict(type='raw'),
|
mode=dict(type='raw'),
|
||||||
owner=dict(),
|
owner=dict(),
|
||||||
group=dict(),
|
group=dict(),
|
||||||
|
@ -234,7 +235,7 @@ FILE_COMMON_ARGUMENTS = dict(
|
||||||
|
|
||||||
# not taken by the file module, but other action plugins call the file module so this ignores
|
# not taken by the file module, but other action plugins call the file module so this ignores
|
||||||
# them for now. In the future, the caller should take care of removing these from the module
|
# them for now. In the future, the caller should take care of removing these from the module
|
||||||
# arugments before calling the file module.
|
# arguments before calling the file module.
|
||||||
content=dict(no_log=True), # used by copy
|
content=dict(no_log=True), # used by copy
|
||||||
backup=dict(), # Used by a few modules to create a remote backup before updating the file
|
backup=dict(), # Used by a few modules to create a remote backup before updating the file
|
||||||
remote_src=dict(), # used by assemble
|
remote_src=dict(), # used by assemble
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue