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

added skipped_reason for verbosity not met

fixes http://github.com/ansible/ansible-modules-core/issues/4062
This commit is contained in:
Brian Coca 2016-06-28 15:24:18 -04:00
parent f1e1558f4f
commit 9abdb1bb7c

View file

@ -73,6 +73,7 @@ class ActionModule(ActionBase):
# force flag to make debug output module always verbose
result['_ansible_verbose_always'] = True
else:
result['skipped_reason'] = "Verbosity threshold not met."
result['skipped'] = True
return result