feat: added molecule role testing

This commit is contained in:
Simon Cornet 2025-07-17 17:27:13 +02:00
commit 1791ff33b5
3 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1,20 @@
---
# verify
- name: "verify"
hosts: "all"
become: true
gather_facts: true
tasks:
# check if keepalived is installed
- name: "check package"
ansible.builtin.package:
name: "keepalived"
state: "present"
# check if keepalived is started
- name: "check service"
ansible.builtin.service:
name: "keepalived"
state: "started"