Serialize haproxy plays

The impact on install is low, while the benefit on upgrades is
high: better availability.

Change-Id: Iebf6141df475773536a1e06ed9739ac78d0e50eb
This commit is contained in:
Jean-Philippe Evrard
2018-03-03 17:16:08 +00:00
parent a08b85cbdf
commit af13971419

View File

@@ -16,6 +16,7 @@
- name: haproxy base config
hosts: haproxy
gather_facts: "{{ osa_gather_facts | default(True) }}"
serial: "50%"
user: root
pre_tasks:
- include: "common-tasks/os-{{ container_tech | default('lxc') }}-container-setup.yml"
@@ -40,6 +41,7 @@
- name: Install haproxy
hosts: haproxy
serial: "50%"
gather_facts: "{{ osa_gather_facts | default(True) }}"
user: root
pre_tasks: