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,
|
||||
result=dict(
|
||||
skipped=True,
|
||||
changed=False,
|
||||
msg=("skipped, since %s exists" % creates)
|
||||
)
|
||||
)
|
||||
|
|
|
@ -87,6 +87,7 @@
|
|||
assert:
|
||||
that:
|
||||
- "unarchive02c.changed == false"
|
||||
- "unarchive02c.skipped == true"
|
||||
|
||||
- name: remove our tar.gz unarchive destination
|
||||
file: path={{output_dir}}/test-unarchive-tar-gz state=absent
|
||||
|
|
Loading…
Reference in a new issue