Set _ansible_verbose_override in gather_facts action plugin. Fixes #58310 (#58339)

pull/58348/head
Matt Martz 5 years ago committed by GitHub
parent 18d713e6d5
commit bc25ac20e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,3 @@
bugfixes:
- gather_facts - Prevent gather_facts from being verbose, just like is done
in the normal action plugin for setup (https://github.com/ansible/ansible/issues/58310)

@ -119,4 +119,7 @@ class ActionModule(ActionBase):
# tell executor facts were gathered
result['ansible_facts']['_ansible_facts_gathered'] = True
# hack to keep --verbose from showing all the setup module result
result['_ansible_verbose_override'] = True
return result

Loading…
Cancel
Save