mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-10-23 04:54:04 +07:00
Correct template path (#8 related)
This commit is contained in:
1 parent
a894efa81a
commit
b266e775a8
2 files changed
+6
-2
No files matched your search
@@ -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