- Update pruning options to include filters for containers, images, networks, and volumes. - Modify handlers to restart Podman resources based on new conditions. - Expand Molecule tests to verify networks, volumes, pods, and containers. - Adjust service management tasks for Podman services and auto-update. - Refactor tasks for better clarity and maintainability.
30 lines
675 B
YAML
30 lines
675 B
YAML
---
|
|
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
|
|
ansible_args:
|
|
- "--connection=podman"
|
|
env:
|
|
ANSIBLE_ROLES_PATH: ${MOLECULE_PROJECT_DIRECTORY}/..
|
|
config_options:
|
|
defaults:
|
|
ALLOW_BROKEN_CONDITIONALS: true
|
|
verifier:
|
|
name: ansible
|