Base molecule

This commit is contained in:
Daniel Akulenok
2026-02-18 12:59:32 +01:00
parent 19502bf14a
commit c728326d4b
5 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
---
collections:
- name: ansible.utils
- name: ansible.posix
- name: community.crypto
- name: community.general
- name: containers.podman

View File

@@ -0,0 +1,5 @@
---
- name: Converge
hosts: all
roles:
- ansible-podman

View File

@@ -0,0 +1,27 @@
---
driver:
name: podman
platforms:
- 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
env:
ANSIBLE_ROLES_PATH: ${MOLECULE_PROJECT_DIRECTORY}/..
config_options:
defaults:
ALLOW_BROKEN_CONDITIONALS: true
verifier:
name: ansible

View File

@@ -0,0 +1,4 @@
---
- name: Prepare
hosts: all
tasks:

View File

@@ -0,0 +1,5 @@
---
- name: Verify
hosts: all
gather_facts: true
tasks: