Fix right problem in mysql replication
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing

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 db43950a5c
commit b86341c731

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'