moved any_errors_fatal to base (#21585)

This commit is contained in:
Brian Coca 2017-03-02 10:28:20 -05:00 committed by GitHub
parent fb8aa5637a
commit 30c6a77045
4 changed files with 1 additions and 3 deletions

View file

@ -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 = [

View file

@ -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='')

View file

@ -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)

View file

@ -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)