allow to connect from external ip

This commit is contained in:
Miroslav Suchý 2015-02-02 10:25:01 +00:00
parent d284c9a3d4
commit 003fbfae03

View file

@ -116,6 +116,8 @@
# http://ansible.cc/docs/modules.html#mysql-user
- name: update mysql root password for localhost before setting .my.cnf
mysql_user: name=root host=localhost password={{ DBPASSWORD }}
- name: update mysql root password for fed-cloud09.cloud.fedoraproject.org before setting .my.cnf
mysql_user: name=root host=fed-cloud09.cloud.fedoraproject.org password={{ DBPASSWORD }}
- name: copy .my.cnf file with root password credentials
template: src={{ files }}/fedora-cloud/my.cnf dest=/root/.my.cnf owner=root mode=0600
- name: update mysql root password for all root accounts