mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -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
|
@ -34,6 +34,7 @@ class Block(Base, Become, Conditional, Taggable):
|
|||
_rescue = FieldAttribute(isa='list', default=[])
|
||||
_always = FieldAttribute(isa='list', default=[])
|
||||
_delegate_to = FieldAttribute(isa='list')
|
||||
_delegate_facts = FieldAttribute(isa='bool', defalt=False)
|
||||
|
||||
# for future consideration? this would be functionally
|
||||
# similar to the 'else' clause for exceptions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue