Merge "my.cnf was going to wrong location."

This commit is contained in:
Jenkins 2015-01-07 20:31:35 +00:00 committed by Gerrit Code Review
commit 804db37954
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,3 @@
---
- name: restart_mysql
action: service name=mysql state=restarted

View File

@ -16,7 +16,9 @@
ignore_errors: yes
- name: copy .my.cnf file with root password credentials
template: src=my.cnf.j2 dest=/root/.my.cnf owner=root mode=0600
template: src=my.cnf.j2 dest=/etc/mysql/my.cnf owner=root mode=0600
notify:
- restart_mysql
- mysql_db: name=winchester state=present login_user=root login_password={{ root_db_password }}