Skip to content

Commit 30fa3fa

Browse files
priteauMoteHue
authored andcommitted
Correct mariadb restart handlers
This behaviour was changed 65325d9 but does not work for mariadb and mariadb-clustercheck. A fix was included in master as part of 23413d4, let's do the same in our fork. Change-Id: Idfb5b814e16056d439cf1e1318f86bbcea82d981
1 parent b4b9138 commit 30fa3fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ansible/roles/mariadb/handlers/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
- groups[mariadb_shard_group + '_port_alive_True'] is defined
6161
- inventory_hostname in groups[mariadb_shard_group + '_port_alive_True']
6262
- kolla_action != "config"
63-
listen: restart mariadb
63+
listen: Restart mariadb container
6464

6565
- name: Start MariaDB on new nodes
6666
group_by:
@@ -70,7 +70,7 @@
7070
- groups[mariadb_shard_group + '_port_alive_False'] is defined
7171
- inventory_hostname in groups[mariadb_shard_group + '_port_alive_False']
7272
- kolla_action != "config"
73-
listen: restart mariadb
73+
listen: Restart mariadb container
7474

7575
- name: Restart mariadb-clustercheck container
7676
vars:

ansible/roles/mariadb/tasks/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
become: true
4545
with_dict: "{{ mariadb_services | select_services_enabled_and_mapped_to_host }}"
4646
notify:
47-
- "restart {{ item.key }}"
47+
- "Restart {{ item.key }} container"
4848

4949
- name: Copying over config.json files for mariabackup
5050
vars:
@@ -72,4 +72,4 @@
7272
become: true
7373
when: service | service_enabled_and_mapped_to_host
7474
notify:
75-
- restart mariadb
75+
- Restart mariadb container

0 commit comments

Comments
 (0)