mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 15:34:01 -07:00
Revert "avoid persistent containers in attribute defaults"
This reverts commit 87969868d4
.
found better way to do it
This commit is contained in:
parent
332a008273
commit
c64298de02
9 changed files with 18 additions and 29 deletions
|
@ -64,7 +64,7 @@ class Task(Base, Conditional, Taggable, Become):
|
|||
# will be used if defined
|
||||
# might be possible to define others
|
||||
|
||||
_args = FieldAttribute(isa='dict', default='_ansible_container')
|
||||
_args = FieldAttribute(isa='dict', default=dict())
|
||||
_action = FieldAttribute(isa='string')
|
||||
|
||||
_any_errors_fatal = FieldAttribute(isa='bool')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue