12 lines
323 B
YAML
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
|