moved any_errors_fatal to base (#21585)
This commit is contained in:
parent
fb8aa5637a
commit
30c6a77045
4 changed files with 1 additions and 3 deletions
|
@ -163,6 +163,7 @@ class Base(with_metaclass(BaseMeta, object)):
|
|||
_run_once = FieldAttribute(isa='bool')
|
||||
_ignore_errors = FieldAttribute(isa='bool')
|
||||
_check_mode = FieldAttribute(isa='bool')
|
||||
_any_errors_fatal = FieldAttribute(isa='bool', default=False, always_post_validate=True)
|
||||
|
||||
# param names which have been deprecated/removed
|
||||
DEPRECATED_ATTRIBUTES = [
|
||||
|
|
|
@ -36,7 +36,6 @@ class Block(Base, Become, Conditional, Taggable):
|
|||
_always = FieldAttribute(isa='list', default=[], inherit=False)
|
||||
|
||||
# other fields
|
||||
_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='')
|
||||
|
|
|
@ -86,7 +86,6 @@ class Play(Base, Taggable, Become):
|
|||
_tasks = FieldAttribute(isa='list', default=[])
|
||||
|
||||
# Flag/Setting Attributes
|
||||
_any_errors_fatal = FieldAttribute(isa='bool', default=False, always_post_validate=True)
|
||||
_force_handlers = FieldAttribute(isa='bool', always_post_validate=True)
|
||||
_max_fail_percentage = FieldAttribute(isa='percent', always_post_validate=True)
|
||||
_serial = FieldAttribute(isa='list', default=[], always_post_validate=True)
|
||||
|
|
|
@ -68,7 +68,6 @@ class Task(Base, Conditional, Taggable, Become):
|
|||
_args = FieldAttribute(isa='dict', default=dict())
|
||||
_action = FieldAttribute(isa='string')
|
||||
|
||||
_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)
|
||||
|
|
Loading…
Reference in a new issue