remove default from delegate_facts to inherit (#45492)

* remove default from delegate_facts to inherit

fixes #45456

* test delegate_facts

* added note about inheritance and defaults

* yamllint
This commit is contained in:
Brian Coca 2018-10-10 15:10:23 -04:00 committed by ansibot
parent 58aaf53271
commit 8743e6ae2e
5 changed files with 34 additions and 3 deletions

View file

@ -38,7 +38,7 @@ class Block(Base, Become, Conditional, Taggable):
# other fields
_delegate_to = FieldAttribute(isa='string')
_delegate_facts = FieldAttribute(isa='bool', default=False)
_delegate_facts = FieldAttribute(isa='bool')
# for future consideration? this would be functionally
# similar to the 'else' clause for exceptions