Use mariadb-admin instead of mysqladmin

With MariaDB 11.4 version mysqladmin tool is not available anymore and
mariadb-admin stands for it now.

Needed-By: https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/922377
Change-Id: I2da16389f16a9ee236c19c92fcab7dfa33246b0d
This commit is contained in:
Dmitriy Rabotyagov 2024-11-08 15:11:57 +01:00
parent fa6f50ddcc
commit 87cf8b64c3

View File

@ -59,7 +59,7 @@
delegate_to: "{{ groups['utility_all'][0] }}"
- name: Check that WSREP is ready and Synced
shell: "/usr/bin/mysqladmin extended-status | egrep '(wsrep_local_state_comment)'"
shell: "/usr/bin/mariadb-admin extended-status | egrep '(wsrep_local_state_comment)'"
register: mariadb_ready
until:
- mariadb_ready.rc == 0