mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-02-24 10:13:30 +07:00
Correct template path (#8 related)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
---
|
||||
|
||||
- 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
|
||||
|
||||
@@ -5,7 +5,9 @@
|
||||
when: mysql_slave_readonly
|
||||
|
||||
- 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
|
||||
|
||||
- name: MYSQL_REPLICATION | Get slave status
|
||||
|
||||
Reference in New Issue
Block a user