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
This commit is contained in:
Mathieu Bultel 2019-02-08 10:52:34 +01:00 committed by mathieu bultel
parent a5d7d84a02
commit 9755a1b2d6

View File

@ -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: