My personal Podman Quadlets
Ansible Playbooks are provided to easily bring these quadlets up and down in a manner similar to docker compose.
These playbooks place the quadlet files in the rootless podman folder (~/.config/containers/systemd
), add and enable firewalld services, and enable the resulting systemd services.
The firewalld operations are the reason for the need to become elevated when playing the playbook; the quadlets otherwise run via rootless podman.
There should be hosts defined for at least the following:
- servers
- workstations
Example:
all:
children:
servers:
hosts:
# ...
workstations:
hosts:
# ...
ansible-playbook -K|--ask-become-pass [-C|--check] up.yaml
-C
,--check
- If you want to dry-run everything before executing.
ansible-playbook -K|--ask-become-pass [-C|--check] down.yaml
-C
,--check
- If you want to dry-run everything before executing.