Fix right problem in mysql replication
The configuration file was not set to 0644, which caused the file to be ignored by mysql and it's configuration not to be set.
This commit is contained in:
parent
db43950a5c
commit
b86341c731
|
@ -4,11 +4,7 @@
|
|||
template:
|
||||
src: 'replication.cnf.j2'
|
||||
dest: "{{ mysql_config_directory }}/zzzz-replication.cnf"
|
||||
with_first_found:
|
||||
- "templates/mysql/replication.{{ inventory_hostname }}.cnf.j2"
|
||||
- "templates/mysql/replication.{{ host_group }}.cnf.j2"
|
||||
- 'templates/mysql/replication.cnf.j2'
|
||||
- 'replication.cnf.j2'
|
||||
mode: "0644"
|
||||
notify: 'restart mysql'
|
||||
|
||||
- name: 'Create repl user'
|
||||
|
|
Loading…
Reference in a new issue