Handle custom root passwords

This commit is contained in:
Steven Wheeler
2022-05-11 16:24:52 -05:00
parent 357fec1ede
commit b8d63bb8c7
3 changed files with 15 additions and 0 deletions

View File

@@ -37,6 +37,9 @@
priv: "*.*:RELOAD,LOCK TABLES,REPLICATION CLIENT,PROCESS"
host: localhost
state: present
check_implicit_admin: yes
login_user: root
login_password: "{{ mariadb_root_password | default(omit) }}"
no_log: "{{ not mariadb_debug_role }}"
when: mariadb_galera_sst_user != ''