Merge "Update mysql login_host for grafana to allow being set via variable"

This commit is contained in:
Jenkins 2017-06-12 16:26:25 +00:00 committed by Gerrit Code Review
commit 8c651a8a3c

View File

@ -22,7 +22,7 @@
mysql_db:
login_user: "{{ galera_root_user }}"
login_password: "{{ galera_root_password }}"
login_host: "127.0.0.1"
login_host: "{{ galera_address|default('127.0.0.1') }}"
name: "{{ grafana_db_name }}"
state: "present"
delegate_to: "{{ groups['galera_all'][0] }}"
@ -30,7 +30,7 @@
mysql_user:
login_user: "{{ galera_root_user }}"
login_password: "{{ galera_root_password }}"
login_host: "127.0.0.1"
login_host: "{{ galera_address|default('127.0.0.1') }}"
name: "{{ grafana_db_user }}"
password: "{{ grafana_db_password }}"
host: "{{ item }}"