From: Guillaume Abrioux Date: Wed, 2 Jan 2019 15:53:06 +0000 (+0100) Subject: update: do not enforce `serial: 1` on client nodes X-Git-Tag: v4.0.0beta1~84 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=268f2cef821dcb5835bd925c42585ddda5a07861;p=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=` Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1650184 Signed-off-by: Guillaume Abrioux --- diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 5547a8b81..e8df58609 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -800,7 +800,7 @@ upgrade_ceph_packages: True hosts: - "{{ client_group_name|default('clients') }}" - serial: 1 + serial: "{{ client_update_batch | default(ansible_forks) }}" become: True tasks: - import_role: