Merge "Update mysql login_host for grafana to allow being set via variable"
This commit is contained in:
commit
8c651a8a3c
@ -22,7 +22,7 @@
|
|||||||
mysql_db:
|
mysql_db:
|
||||||
login_user: "{{ galera_root_user }}"
|
login_user: "{{ galera_root_user }}"
|
||||||
login_password: "{{ galera_root_password }}"
|
login_password: "{{ galera_root_password }}"
|
||||||
login_host: "127.0.0.1"
|
login_host: "{{ galera_address|default('127.0.0.1') }}"
|
||||||
name: "{{ grafana_db_name }}"
|
name: "{{ grafana_db_name }}"
|
||||||
state: "present"
|
state: "present"
|
||||||
delegate_to: "{{ groups['galera_all'][0] }}"
|
delegate_to: "{{ groups['galera_all'][0] }}"
|
||||||
@ -30,7 +30,7 @@
|
|||||||
mysql_user:
|
mysql_user:
|
||||||
login_user: "{{ galera_root_user }}"
|
login_user: "{{ galera_root_user }}"
|
||||||
login_password: "{{ galera_root_password }}"
|
login_password: "{{ galera_root_password }}"
|
||||||
login_host: "127.0.0.1"
|
login_host: "{{ galera_address|default('127.0.0.1') }}"
|
||||||
name: "{{ grafana_db_user }}"
|
name: "{{ grafana_db_user }}"
|
||||||
password: "{{ grafana_db_password }}"
|
password: "{{ grafana_db_password }}"
|
||||||
host: "{{ item }}"
|
host: "{{ item }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user