Revert "avoid persistent containers in attribute defaults"

This reverts commit 87969868d4.
found better way to do it
This commit is contained in:
Brian Coca 2015-12-09 08:22:58 -08:00
commit c64298de02
9 changed files with 18 additions and 29 deletions

View file

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