mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
* Allow any_errors_fatal to be set in playbook. * Default to the config file value for any_errors_fatal only if it isn't already provided. * add _get_attr method
This commit is contained in:
parent
f3f0ba87ce
commit
aa658c64ec
2 changed files with 10 additions and 1 deletions
|
@ -165,7 +165,7 @@ class Base(with_metaclass(BaseMeta, object)):
|
|||
_ignore_errors = FieldAttribute(isa='bool')
|
||||
_check_mode = FieldAttribute(isa='bool')
|
||||
_diff = FieldAttribute(isa='bool')
|
||||
_any_errors_fatal = FieldAttribute(isa='bool', default=C.ANY_ERRORS_FATAL, always_post_validate=True)
|
||||
_any_errors_fatal = FieldAttribute(isa='bool')
|
||||
|
||||
# param names which have been deprecated/removed
|
||||
DEPRECATED_ATTRIBUTES = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue