From 75855b2d58673c871251a3e940301dae972735e6 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Fri, 18 Jan 2019 09:03:40 +0100 Subject: [PATCH] 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 (cherry picked from commit ff8dbe114cc1e13c8972993c340cd3b1a189d326) --- infrastructure-playbooks/rolling_update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 1d08ce11c..b37fee259 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -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: