Merge "Configure my.cnf for server when galera_root_user is not root"

This commit is contained in:
Zuul 2021-03-03 03:06:58 +00:00 committed by Gerrit Code Review
commit 1484301a81
2 changed files with 2 additions and 1 deletions

View File

@ -124,6 +124,7 @@
config_overrides: "{{ galera_client_my_cnf_overrides }}"
config_type: "ini"
mode: "0600"
condition: "{{ (galera_root_user == 'root') }}"
notify:
- Manage LB
- Restart all mysql

View File

@ -27,7 +27,7 @@
- include_tasks: galera_client_main.yml
when:
- galera_install_client | bool
- inventory_hostname not in galera_cluster_members
- inventory_hostname not in galera_cluster_members or galera_root_user != 'root'
- include_tasks: galera_server_main.yml
when: