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:
Dmitriy Rabotyagov 2021-08-19 15:01:16 +03:00
parent e6d4853480
commit 5451778f46

View File

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