1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Removing skipped=True so the task is just marked as not-changed

This commit is contained in:
James Cammarata 2013-08-03 12:15:09 -05:00
parent d98ad7b374
commit e32a6110af

View file

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