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:
Patrick Marchand 2020-01-13 17:50:24 +01:00
parent b80f3993ae
commit 1a96616f42
1 changed files with 1 additions and 5 deletions

View File

@ -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'