Files
Emilien Mantel 38c1701310 👷 Fix linter
2024-08-27 14:14:59 +02:00

12 lines
323 B
YAML

---
- name: Verify slave
hosts: all
gather_facts: false
tasks:
- 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