ansible-mysql/molecule/debian12_upstream/verify.yml

12 lines
323 B
YAML
Raw Permalink Normal View History

---
- name: Verify slave
hosts: all
gather_facts: false
tasks:
2024-08-26 22:42:14 +07:00
- name: COMMAND | Check if mariadb is running # noqa: command-instead-of-module
ansible.builtin.command: "systemctl is-active mariadb"
register: mariadb_is_running
changed_when: false
failed_when: mariadb_is_running.rc != 0