mirror of https://github.com/ceph/ceph-ansible.git
update: do not enforce `serial: 1` on client nodes
There is no need to enforce `serial: 1` on client nodes.
Let's make it parameterizable by introducing a new *extra* variable
`client_update_batch`, if not filled this will default to `{{
ansible_forks }}`.
NOTE: this is only usable as an extra variable passed with
`-e client_update_batch=<num>`
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1650184
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 268f2cef82
)
pull/3477/head
parent
6e2cd0930f
commit
dc02156736
|
@ -732,8 +732,7 @@
|
||||||
|
|
||||||
hosts:
|
hosts:
|
||||||
- "{{ client_group_name|default('clients') }}"
|
- "{{ client_group_name|default('clients') }}"
|
||||||
|
serial: "{{ client_update_batch | default(ansible_forks) }}"
|
||||||
serial: 1
|
|
||||||
become: True
|
become: True
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
|
|
Loading…
Reference in New Issue