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:
Brian Coca 2014-11-14 11:13:36 -05:00
parent 6030be3835
commit dd60036fb9
2 changed files with 2 additions and 0 deletions

View file

@ -69,6 +69,7 @@ class ActionModule(object):
comm_ok=True,
result=dict(
skipped=True,
changed=False,
msg=("skipped, since %s exists" % creates)
)
)

View file

@ -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