Skip to content

Commit

Permalink
Merge pull request #676 from stackhpc/mariadb-clustercheck-handler
Browse files Browse the repository at this point in the history
Correct mariadb restart handlers
  • Loading branch information
priteau authored Feb 3, 2025
2 parents 06c9f3d + 30fa3fa commit 44f58ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/mariadb/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
- groups[mariadb_shard_group + '_port_alive_True'] is defined
- inventory_hostname in groups[mariadb_shard_group + '_port_alive_True']
- kolla_action != "config"
listen: restart mariadb
listen: Restart mariadb container

- name: Start MariaDB on new nodes
group_by:
Expand All @@ -70,7 +70,7 @@
- groups[mariadb_shard_group + '_port_alive_False'] is defined
- inventory_hostname in groups[mariadb_shard_group + '_port_alive_False']
- kolla_action != "config"
listen: restart mariadb
listen: Restart mariadb container

- name: Restart mariadb-clustercheck container
vars:
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/mariadb/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
become: true
with_dict: "{{ mariadb_services | select_services_enabled_and_mapped_to_host }}"
notify:
- "restart {{ item.key }}"
- "Restart {{ item.key }} container"

- name: Copying over config.json files for mariabackup
vars:
Expand Down Expand Up @@ -72,4 +72,4 @@
become: true
when: service | service_enabled_and_mapped_to_host
notify:
- restart mariadb
- Restart mariadb container

0 comments on commit 44f58ae

Please sign in to comment.