Correct template path (#8 related)

pull/14/head
Emilien Mantel 2016-02-12 09:37:29 +01:00
parent a894efa81a
commit b266e775a8
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,7 @@
--- ---
- name: TEMPLATE | Deploy master configuration - name: TEMPLATE | Deploy master configuration
template: src=../templates/etc/mysql/conf.d/50-master.cnf.j2 dest=/etc/mysql/conf.d/50-master.cnf template: >
src=etc/mysql/conf.d/50-master.cnf.j2
dest=/etc/mysql/conf.d/50-master.cnf
notify: restart mysql notify: restart mysql

View File

@ -5,7 +5,9 @@
when: mysql_slave_readonly when: mysql_slave_readonly
- name: TEMPLATE | Deploy slave configuration - name: TEMPLATE | Deploy slave configuration
template: src=../templates/etc/mysql/conf.d/51-slave.cnf.j2 dest=/etc/mysql/conf.d/51-slave.cnf template: >
src=etc/mysql/conf.d/51-slave.cnf.j2
dest=/etc/mysql/conf.d/51-slave.cnf
notify: restart mysql notify: restart mysql
- name: MYSQL_REPLICATION | Get slave status - name: MYSQL_REPLICATION | Get slave status