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

This commit is contained in:
Matt Martz 2019-06-25 10:28:09 -05:00 committed by GitHub
parent 18d713e6d5
commit bc25ac20e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

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

View file

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