mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Make gathering=explicit work again
There was a confusion between the valid values for defaults.gathering (explicit/implicit/smart) and a play's gather_facts setting (boolean), which resulted in gathering=explicit being ignored.
This commit is contained in:
parent
d70c88bf8c
commit
28e2eae902
2 changed files with 14 additions and 2 deletions
|
@ -58,7 +58,7 @@ class Play(Base, Taggable, Become):
|
|||
_accelerate_port = FieldAttribute(isa='int', default=5099) # should be alias of port
|
||||
|
||||
# Connection
|
||||
_gather_facts = FieldAttribute(isa='string', default='smart')
|
||||
_gather_facts = FieldAttribute(isa='bool', default=None)
|
||||
_hosts = FieldAttribute(isa='list', default=[], required=True, listof=string_types)
|
||||
_name = FieldAttribute(isa='string', default='')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue