diff --git a/ansible/roles/mariadb/tasks/config.yml b/ansible/roles/mariadb/tasks/config.yml index 01a911905b..a748c1adf0 100644 --- a/ansible/roles/mariadb/tasks/config.yml +++ b/ansible/roles/mariadb/tasks/config.yml @@ -26,9 +26,9 @@ with_items: - "mariadb" -- name: Copying over wsrep_notify.sh +- name: Copying over wsrep-notify.sh template: - src: "{{ role_path }}/templates/wsrep_notify.sh.j2" - dest: "{{ node_config_directory }}/{{ item }}/wsrep_notify.sh" + src: "{{ role_path }}/templates/wsrep-notify.sh.j2" + dest: "{{ node_config_directory }}/{{ item }}/wsrep-notify.sh" with_items: - "mariadb" diff --git a/ansible/roles/mariadb/templates/galera.cnf.j2 b/ansible/roles/mariadb/templates/galera.cnf.j2 index 23919e2f3c..7ffcb26a05 100644 --- a/ansible/roles/mariadb/templates/galera.cnf.j2 +++ b/ansible/roles/mariadb/templates/galera.cnf.j2 @@ -24,7 +24,7 @@ wsrep_node_name={{ ansible_hostname }} wsrep_sst_method=xtrabackup-v2 wsrep_sst_auth={{ database_user }}:{{ database_password }} wsrep_slave_threads=4 -wsrep_notify_cmd=/usr/local/bin/wsrep_notify.sh +wsrep_notify_cmd=/usr/local/bin/wsrep-notify.sh max_connections=10000 diff --git a/ansible/roles/mariadb/templates/mariadb.json.j2 b/ansible/roles/mariadb/templates/mariadb.json.j2 index d9c1c0b385..cfee62e4d9 100644 --- a/ansible/roles/mariadb/templates/mariadb.json.j2 +++ b/ansible/roles/mariadb/templates/mariadb.json.j2 @@ -9,8 +9,8 @@ "perm": "0600" }, { - "source": "{{ container_config_directory }}/wsrep_notify.sh", - "dest": "/usr/local/bin/wsrep_notify.sh", + "source": "{{ container_config_directory }}/wsrep-notify.sh", + "dest": "/usr/local/bin/wsrep-notify.sh", "owner": "mysql", "perm": "0700" } diff --git a/ansible/roles/mariadb/templates/wsrep_notify.sh.j2 b/ansible/roles/mariadb/templates/wsrep-notify.sh.j2 similarity index 100% rename from ansible/roles/mariadb/templates/wsrep_notify.sh.j2 rename to ansible/roles/mariadb/templates/wsrep-notify.sh.j2