feat: added molecule role testing

This commit is contained in:
Simon Cornet 2025-07-17 17:23:06 +02:00
commit 4d45a040ff
5 changed files with 72 additions and 1 deletions

View file

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