|
|
@ -56,7 +56,7 @@ class Play(Base, Taggable, Become):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
# =================================================================================
|
|
|
|
# =================================================================================
|
|
|
|
# Connection-Related Attributes
|
|
|
|
_name = FieldAttribute(isa='string', default='', always_post_validate=True)
|
|
|
|
|
|
|
|
|
|
|
|
# TODO: generalize connection
|
|
|
|
# TODO: generalize connection
|
|
|
|
_accelerate = FieldAttribute(isa='bool', default=False, always_post_validate=True)
|
|
|
|
_accelerate = FieldAttribute(isa='bool', default=False, always_post_validate=True)
|
|
|
@ -69,7 +69,6 @@ class Play(Base, Taggable, Become):
|
|
|
|
_gather_subset = FieldAttribute(isa='barelist', default=None, always_post_validate=True)
|
|
|
|
_gather_subset = FieldAttribute(isa='barelist', default=None, always_post_validate=True)
|
|
|
|
_gather_timeout = FieldAttribute(isa='int', default=None, always_post_validate=True)
|
|
|
|
_gather_timeout = FieldAttribute(isa='int', default=None, always_post_validate=True)
|
|
|
|
_hosts = FieldAttribute(isa='list', required=True, listof=string_types, always_post_validate=True)
|
|
|
|
_hosts = FieldAttribute(isa='list', required=True, listof=string_types, always_post_validate=True)
|
|
|
|
_name = FieldAttribute(isa='string', default='', always_post_validate=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Variable Attributes
|
|
|
|
# Variable Attributes
|
|
|
|
_vars_files = FieldAttribute(isa='list', default=[], priority=99)
|
|
|
|
_vars_files = FieldAttribute(isa='list', default=[], priority=99)
|
|
|
@ -90,6 +89,7 @@ class Play(Base, Taggable, Become):
|
|
|
|
_max_fail_percentage = FieldAttribute(isa='percent', always_post_validate=True)
|
|
|
|
_max_fail_percentage = FieldAttribute(isa='percent', always_post_validate=True)
|
|
|
|
_serial = FieldAttribute(isa='list', default=[], always_post_validate=True)
|
|
|
|
_serial = FieldAttribute(isa='list', default=[], always_post_validate=True)
|
|
|
|
_strategy = FieldAttribute(isa='string', default=C.DEFAULT_STRATEGY, always_post_validate=True)
|
|
|
|
_strategy = FieldAttribute(isa='string', default=C.DEFAULT_STRATEGY, always_post_validate=True)
|
|
|
|
|
|
|
|
_order = FieldAttribute(isa='string', always_post_validate=True)
|
|
|
|
|
|
|
|
|
|
|
|
# =================================================================================
|
|
|
|
# =================================================================================
|
|
|
|
|
|
|
|
|
|
|
|