
In case of standalone deployment of the role, it's important to avoid client-installation on server-side, as this causes a race condition, where deployed my.cnf is used before the respective user is created. Patch also adds all requirements which needed for the role execution in a standalone mode. Change-Id: I0900e1d413a80020ca4dfe7477499da25eb64689
25 lines
549 B
YAML
25 lines
549 B
YAML
---
|
|
- name: Install Galera server
|
|
hosts: galera_all
|
|
user: root
|
|
serial:
|
|
- 1
|
|
- 100%
|
|
roles:
|
|
- galera_server
|
|
vars:
|
|
galera_install_server: true
|
|
# NOTE: it is important to disable client installation on
|
|
# server, unless `galera_root_user: root` (default: admin)
|
|
galera_install_client: false
|
|
galera_root_password: secrete
|
|
|
|
- name: Install Galera client
|
|
hosts: localhost
|
|
roles:
|
|
- galera_server
|
|
vars:
|
|
galera_install_server: false
|
|
galera_install_client: true
|
|
galera_root_password: secrete
|