mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Make fact delegating configurable, defaulting to 1.x behavior
This commit is contained in:
parent
7ffd578a9d
commit
de690445bc
5 changed files with 6 additions and 2 deletions
|
@ -61,6 +61,7 @@ def hash_params(params):
|
|||
class Role(Base, Become, Conditional, Taggable):
|
||||
|
||||
_delegate_to = FieldAttribute(isa='string')
|
||||
_delegate_facts = FieldAttribute(isa='bool', defalt=False)
|
||||
|
||||
def __init__(self, play=None):
|
||||
self._role_name = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue