Preserve rolling_update backward compatibility with ansible < 2.5

Let's enforce the default value for `client_update_batch` to 20 since
`ansible_forks` isn't always available.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1650184

Signed-off-by: Giulio Fidente <gfidente@redhat.com>
(cherry picked from commit ff8dbe114c)
pull/3521/head v3.2.4
Giulio Fidente 2019-01-18 09:03:40 +01:00 committed by mergify[bot]
parent 44afe16568
commit 75855b2d58
1 changed files with 1 additions and 1 deletions

View File

@ -741,7 +741,7 @@
hosts:
- "{{ client_group_name|default('clients') }}"
serial: "{{ client_update_batch | default(ansible_forks) }}"
serial: "{{ client_update_batch | default(20) }}"
become: True
roles: