mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Update any_errors_fatal field attributes in block/task to match play
This commit is contained in:
@@ -36,7 +36,7 @@ class Block(Base, Become, Conditional, Taggable):
|
||||
_always = FieldAttribute(isa='list', default=[], inherit=False)
|
||||
|
||||
# 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_facts = FieldAttribute(isa='bool', default=False)
|
||||
_name = FieldAttribute(isa='string', default='')
|
||||
|
||||
@@ -68,7 +68,7 @@ class Task(Base, Conditional, Taggable, Become):
|
||||
_args = FieldAttribute(isa='dict', default=dict())
|
||||
_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)
|
||||
_changed_when = FieldAttribute(isa='list', default=[])
|
||||
_delay = FieldAttribute(isa='int', default=5)
|
||||
|
||||
Reference in New Issue
Block a user