mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Merge pull request #9559 from bcoca/fix_unarchive_tests
added changed status to return when new early create check is triggered
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user