1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update any_errors_fatal field attributes in block/task to match play

This commit is contained in:
James Cammarata 2017-02-17 10:25:27 -06:00
parent 3b9892b45b
commit 1bf8c99974
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ class Block(Base, Become, Conditional, Taggable):
_always = FieldAttribute(isa='list', default=[], inherit=False) _always = FieldAttribute(isa='list', default=[], inherit=False)
# other fields # other fields
_any_errors_fatal = FieldAttribute(isa='bool') _any_errors_fatal = FieldAttribute(isa='bool', default=False, always_post_validate=True)
_delegate_to = FieldAttribute(isa='string') _delegate_to = FieldAttribute(isa='string')
_delegate_facts = FieldAttribute(isa='bool', default=False) _delegate_facts = FieldAttribute(isa='bool', default=False)
_name = FieldAttribute(isa='string', default='') _name = FieldAttribute(isa='string', default='')

View file

@ -68,7 +68,7 @@ class Task(Base, Conditional, Taggable, Become):
_args = FieldAttribute(isa='dict', default=dict()) _args = FieldAttribute(isa='dict', default=dict())
_action = FieldAttribute(isa='string') _action = FieldAttribute(isa='string')
_any_errors_fatal = FieldAttribute(isa='bool') _any_errors_fatal = FieldAttribute(isa='bool', default=False, always_post_validate=True)
_async = FieldAttribute(isa='int', default=0) _async = FieldAttribute(isa='int', default=0)
_changed_when = FieldAttribute(isa='list', default=[]) _changed_when = FieldAttribute(isa='list', default=[])
_delay = FieldAttribute(isa='int', default=5) _delay = FieldAttribute(isa='int', default=5)