Repository navigation
Tags
Tags
Run containers on Quadlet units, and keep what each distribution conf… …igures Upgrading from 0.9.0: - Wherever Podman is 4.4 or later under systemd, each podman_containers entry moves to a Quadlet unit, <name>.service; the next run retires the container-<name>.service units and removes their containers. Move anything a container wrote outside a volume into a volume first, and rename units or checks that name container-<name>. Debian 11 and 12 and Ubuntu 22.0 8000 4 keep the generated units. - The whole podman_containers entry reaches podman_container: a key the module does not know now fails the play, and module_defaults no longer reach these containers. - Install containers.podman 1.17.0 or later. - On Gentoo, set docker.io as a search registry yourself (podman_registries_config or podman_mimic_docker). - A wrapper template of your own reads _podman_wrapper, not wrapper. Changes: - Merge a user's containers.conf, storage.conf and libpod.conf settings into the distribution's, and carry over what each distribution's storage.conf sets. - Honour the state of an enabled container below Podman 4.4, pull a Quadlet container's image before its unit, and stop a dry run reporting a pull of an image the host holds. - Write Podman's configuration before its packages, render registry mirrors, and stop leaking the role's variables into the play. See CHANGELOG.md.
Stop converging gwerlas.system, and make wrappers run everywhere Upgrading from 0.8.0: - gwerlas.system is no longer a meta dependency. Install it yourself (ansible-galaxy install gwerlas.system): the role still imports its user management, and no longer applies the rest of it to your nodes. - wrapper_extras.env_patterns are regular expressions matched against whole NAME=value lines. Anchor them (^FOO=) to keep selecting one variable by its exact name. Changes: - Wrappers carry a /bin/sh shebang, create a missing bind mount source on their first call, follow the installed podman for their pull policy, and drop any option set to null. - Document can_extends. - Refuse to mimic Docker when a real Docker is installed. - Write Portage USE flags before installing podman on Gentoo. - Install acl, needed to provision for another user. - Render storage.conf, label the rootless container store for SELinux, and reload systemd units only when podman wrote one. - Name EPEL when podman-compose is missing on Enterprise Linux. - Let the version fact see the podman just installed, and every tag run on its own. - Support Debian trixie; test the matrix on libvirt VMs.
Slim down the role and modernize facts access - Drop the built-in pre-checks (Docker conflict, Portage USE flag, kernel modules) — these belong in the user's pre-existing setup. - Switch every fact reference to the ansible_facts.* namespace. - Fix the podman socket mount path in wrapper scripts. - Add the compose package and the nftables firewall driver default for Gentoo. - Document the optional features behavior (silent no-op when a package is missing for the target distribution). - Loosen the gwerlas.system role version requirement.
PreviousNext