test: Configure Molecule testing framework

- Add Ansible collections configuration
- Update converge and prepare playbooks
- Restructure molecule.yml for improved testing
This commit is contained in:
Daniel Akulenok
2026-01-23 00:30:22 +01:00
committed by Daniel Akulenok
parent 2abcf4bbb3
commit 79f57b3d65
5 changed files with 35 additions and 17 deletions

View File

@@ -1,22 +1,25 @@
---
dependency:
name: galaxy
driver:
name: podman
platforms:
- name: ubuntu-jammy
image: ubuntu:jammy
- name: ubuntu-focal
image: ubuntu:focal
- name: debian-bullseye
image: debian:bullseye
- name: debian-bookworm
image: docker.io/jrei/systemd-debian:12
command: /lib/systemd/systemd
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
cgroupns_mode: host
- name: debian-trixie
image: docker.io/jrei/systemd-debian:13
command: /lib/systemd/systemd
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
cgroupns_mode: host
provisioner:
name: ansible
lint:
name: ansible-lint
config_options:
defaults:
ALLOW_BROKEN_CONDITIONALS: true
verifier:
name: ansible
lint: |
set -e
ansible-lint .
yamllint .