Commit dd60036f by Brian Coca

added changed status to return when new early create check is triggered,

added skipped check to test on create existing
parent 6030be38
...@@ -69,6 +69,7 @@ class ActionModule(object): ...@@ -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 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment