From dc0215673619542f6c9ae9900a5a9dfe640949ba Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 2 Jan 2019 16:53:06 +0100 Subject: [PATCH] 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=` Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1650184 Signed-off-by: Guillaume Abrioux (cherry picked from commit 268f2cef821dcb5835bd925c42585ddda5a07861) --- infrastructure-playbooks/rolling_update.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index c1969f7d7..c823c94de 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -732,8 +732,7 @@ hosts: - "{{ client_group_name|default('clients') }}" - - serial: 1 + serial: "{{ client_update_batch | default(ansible_forks) }}" become: True roles: