2 KiB
Podman Quadlet Service Ansible role
An Ansible role to deploy Quadlet-based Podman services.
Role Variables
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
service_name: "generic-service"
The name of the service to deploy.
containers: []
A list of Podman container definitions. Each container definition should be as it is described at containers.podman.podman_container module.
create_network: false
Set to true to create a dedicated a Podman network for this service.
create_pod: false
Set to true to create a pod in which all the containers defined in containers will belong to.
network: {}
A Podman network definition as it is described at containers.podman.podman_network_module.
secrets: []
A list of Podman secret definitions. Each secret definition should be as it is described at containers.podman.podman_secret module.
service_user: "root"
The name of the user that will execute the service. If the user is not root the service will run in rootless mode. See the rootless tutorial for more info about running containers in rootless mode.
License
GPLv3
Author Information
Created with ❤️ by z3r0.