Removing skipped=True so the task is just marked as not-changed
This commit is contained in:
parent
f3384374b9
commit
494030aa6c
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ def main():
|
||||||
|
|
||||||
if rc != 0:
|
if rc != 0:
|
||||||
if state == 'absent':
|
if state == 'absent':
|
||||||
module.exit_json(changed=False,skipped=True,stdout="Skipping because volume group %s does not exist." % vg,stderr=False)
|
module.exit_json(changed=False,stdout="Volume group %s does not exist." % vg, stderr=False)
|
||||||
else:
|
else:
|
||||||
module.fail_json(msg="Volume group %s does not exist."%vg, rc=rc, err=err)
|
module.fail_json(msg="Volume group %s does not exist."%vg, rc=rc, err=err)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue