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:
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user