added skipped_reason for verbosity not met

fixes http://github.com/ansible/ansible-modules-core/issues/4062
pull/16484/head
Brian Coca 9 years ago
parent f1e1558f4f
commit 9abdb1bb7c

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

Loading…
Cancel
Save