change mysql auth hostname to eth0 ip

This commit is contained in:
Tim Flink 2015-02-02 07:08:53 +00:00
parent 3246e7ff74
commit ea2b90bc4f

View file

@ -22,7 +22,7 @@
- name: create mariadb user for phabricator
delegate_to: "{{ mariadb_host }}"
mysql_user: name={{ mariadb_user }} host={{ inventory_hostname }} password={{ mariadb_password }} priv={{ phabricator_db_name }}.*:ALL state=present
mysql_user: name={{ mariadb_user }} host={{ eth0_ip }} password={{ mariadb_password }} priv={{ phabricator_db_name }}.*:ALL state=present
- name: create phabricator daemon user
user: name={{ phabricator_daemon_user }}