mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-03-16 11:52:09 +07:00
Correct template path (#8 related)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user