Files
toallab-automation/roles/ikke_t.podman_container_systemd/defaults/main.yml

24 lines
683 B
YAML

---
# state can be running or absent
container_state: running
# systemd service name
service_name: "{{ container_name }}-container-pod.service"
# SystemD restart policy
# see man systemd.service for info
# by default we want to restart failed container
container_restart: on-failure
service_files_dir: /etc/systemd/system
systemd_TimeoutStartSec: 15
systemd_RestartSec: 30
systemd_tempdir: "{{ '/tmp' if ansible_os_family == 'RedHat' and
ansible_distribution_major_version|int == 7 else '%T' }}"
container_run_as_user: root
container_run_as_group: root
container_stop_timeout: 15
# to sepped up you can disable always checking if podman is installed.
skip_podman_install: true