Correct template path (#8 related)
parent
a894efa81a
commit
b266e775a8
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue