From 9755a1b2d68dddb53090b6de5e44b71975ded723 Mon Sep 17 00:00:00 2001 From: Mathieu Bultel Date: Fri, 8 Feb 2019 10:52:34 +0100 Subject: [PATCH] Enable serial execution for ansible host Allow to override serial parameter for parallel execution in Ansible Needed-By: Iafd7c58aaf2f1b30cf46cd16122b5821c96c497c Needed-By: I15511b4f36260292e0ea4100b15b8e65a701b38b Change-Id: I707282bf3cfcc7e370af41f987700e39c1b0b268 --- common/deploy-steps.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/deploy-steps.j2 b/common/deploy-steps.j2 index f3c689d5a5..8767581fb2 100644 --- a/common/deploy-steps.j2 +++ b/common/deploy-steps.j2 @@ -542,7 +542,7 @@ outputs: - include_vars: global_vars.yaml - hosts: DEPLOY_TARGET_HOST name: Run update - serial: 1 + serial: {{ deploy_serial | default(1) }} gather_facts: no any_errors_fatal: yes vars: @@ -656,7 +656,7 @@ outputs: - include_vars: global_vars.yaml - hosts: DEPLOY_TARGET_HOST name: Run pre-upgrade rolling tasks - serial: 1 + serial: {{ deploy_serial | default(1) }} gather_facts: no any_errors_fatal: yes tasks: