mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 12:51:25 -07:00
added changed status to return when new early create check is triggered,
added skipped check to test on create existing
This commit is contained in:
parent
6030be3835
commit
dd60036fb9
2 changed files with 2 additions and 0 deletions
|
@ -69,6 +69,7 @@ class ActionModule(object):
|
||||||
comm_ok=True,
|
comm_ok=True,
|
||||||
result=dict(
|
result=dict(
|
||||||
skipped=True,
|
skipped=True,
|
||||||
|
changed=False,
|
||||||
msg=("skipped, since %s exists" % creates)
|
msg=("skipped, since %s exists" % creates)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
@ -87,6 +87,7 @@
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- "unarchive02c.changed == false"
|
- "unarchive02c.changed == false"
|
||||||
|
- "unarchive02c.skipped == true"
|
||||||
|
|
||||||
- name: remove our tar.gz unarchive destination
|
- name: remove our tar.gz unarchive destination
|
||||||
file: path={{output_dir}}/test-unarchive-tar-gz state=absent
|
file: path={{output_dir}}/test-unarchive-tar-gz state=absent
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue