mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Do not mark "skipped" when changed is false
When using the "creates" option with the unarchive module, set changed to False if the file already exists. This behavior is consistent with other modules which use "creates", such as command and shell.
This commit is contained in:
parent
50379d59ba
commit
787388ac30
2 changed files with 0 additions and 3 deletions
|
@ -69,7 +69,6 @@ class ActionModule(object):
|
|||
conn=conn,
|
||||
comm_ok=True,
|
||||
result=dict(
|
||||
skipped=True,
|
||||
changed=False,
|
||||
msg=("skipped, since %s exists" % creates)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue