mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-30 08:31:28 -07:00
make default strategy configurable (#18394)
This commit is contained in:
parent
bd70397e24
commit
f94100aa87
4 changed files with 17 additions and 1 deletions
|
@ -20,6 +20,7 @@ from __future__ import (absolute_import, division, print_function)
|
|||
__metaclass__ = type
|
||||
|
||||
from ansible.compat.six import string_types
|
||||
from ansible import constants as C
|
||||
|
||||
from ansible.errors import AnsibleParserError
|
||||
|
||||
|
@ -88,7 +89,7 @@ class Play(Base, Taggable, Become):
|
|||
_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)
|
||||
_strategy = FieldAttribute(isa='string', default='linear', always_post_validate=True)
|
||||
_strategy = FieldAttribute(isa='string', default=C.DEFAULT_STRATEGY, always_post_validate=True)
|
||||
|
||||
# =================================================================================
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue