Merge "Do not place debian.cnf when root user not touched"

This commit is contained in:
Zuul 2022-08-05 09:28:43 +00:00 committed by Gerrit Code Review
commit a84dbdaac9
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@
dest: /etc/mysql/debian.cnf
config_overrides: "{{ galera_debian_cnf_overrides }}"
config_type: "ini"
condition: "{{ (ansible_facts['os_family'] | lower == 'debian') }}"
condition: "{{ (ansible_facts['os_family'] | lower == 'debian') and (galera_root_user == 'root') }}"
- src: "client.my.cnf.j2"
dest: "/root/.my.cnf"
config_overrides: "{{ galera_client_my_cnf_overrides }}"