mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
docker_swarm_service: Remove defaults (#52420)
* Remove update_parallelism default * Remove update_delay default * Add documentation about removing defaults * Present porting guide changes as a list
This commit is contained in:
parent
367c62c9b5
commit
0bf9052e06
4 changed files with 13 additions and 7 deletions
|
@ -403,16 +403,16 @@ options:
|
|||
- Corresponds to the C(--restart-window) option of C(docker service create).
|
||||
update_delay:
|
||||
type: int
|
||||
default: 10
|
||||
description:
|
||||
- Rolling update delay in nanoseconds.
|
||||
- Corresponds to the C(--update-delay) option of C(docker service create).
|
||||
- Before Ansible 2.8, the default value for this option was C(10).
|
||||
update_parallelism:
|
||||
type: int
|
||||
default: 1
|
||||
description:
|
||||
- Rolling update parallelism.
|
||||
- Corresponds to the C(--update-parallelism) option of C(docker service create).
|
||||
- Before Ansible 2.8, the default value for this option was C(1).
|
||||
update_failure_action:
|
||||
type: str
|
||||
description:
|
||||
|
@ -1711,8 +1711,8 @@ def main():
|
|||
restart_policy_delay=dict(type='int'),
|
||||
restart_policy_attempts=dict(type='int'),
|
||||
restart_policy_window=dict(type='int'),
|
||||
update_delay=dict(default=10, type='int'),
|
||||
update_parallelism=dict(default=1, type='int'),
|
||||
update_delay=dict(type='int'),
|
||||
update_parallelism=dict(type='int'),
|
||||
update_failure_action=dict(choices=['continue', 'pause']),
|
||||
update_monitor=dict(type='int'),
|
||||
update_max_failure_ratio=dict(type='float'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue