Move galera tasks to pre_tasks
There's no reason to launch tasks independently since this can be done with pre_tasks. Change-Id: I6f434c73176dc2d5e6852ab3232a0b63522f0210
This commit is contained in:
parent
e6d4853480
commit
5451778f46
@ -19,12 +19,12 @@
|
||||
tags:
|
||||
- always
|
||||
|
||||
- name: Galera container config
|
||||
- name: Install galera server
|
||||
hosts: galera_all
|
||||
gather_facts: false
|
||||
serial: 1
|
||||
user: root
|
||||
tasks:
|
||||
pre_tasks:
|
||||
- include_tasks: "common-tasks/os-{{ container_tech | default('lxc') }}-container-setup.yml"
|
||||
when: not is_metal
|
||||
vars:
|
||||
@ -34,15 +34,6 @@
|
||||
- include_tasks: common-tasks/unbound-clients.yml
|
||||
when:
|
||||
- hostvars['localhost']['resolvconf_enabled'] | bool
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
tags:
|
||||
- galera
|
||||
|
||||
- name: Install galera server
|
||||
hosts: galera_all
|
||||
gather_facts: false
|
||||
serial: 1
|
||||
user: root
|
||||
roles:
|
||||
- role: haproxy_endpoints
|
||||
haproxy_state: disabled
|
||||
|
Loading…
Reference in New Issue
Block a user