Files
ansible-collection-kolla/roles/podman/defaults/main.yml
Pierre Riteau 512ab2e7c4 Fix launching external containers on Ubuntu/Podman
Some external (i.e. non-Kolla) container images can fail to launch on
Ubuntu with Podman, due to the absence of the catatonit package. For
example, this affects the prometheus/node-exporter container image.

This is a small package that we be installed by default in these
environments.

Closes-Bug: #2114998
Change-Id: Id5b92ac423671ba039bc478af829aafdd8548f9c
Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
2025-06-26 10:57:25 +02:00

33 lines
712 B
YAML

---
# APT cache TTL in seconds.
apt_cache_valid_time: 3600
# List of packages to install.
podman_packages:
- "podman"
- "{{ 'catatonit' if ansible_facts.os_family == 'Debian' else '' }}"
# Podman config variables
podman_storage_driver:
podman_runtime_directory:
# Podman can work with docker registries so it can stay this way
# URL of private registry
podman_registry:
podman_registry_insecure: false
# Podman registry mirror
podman_registry_mirror:
# Path to a CA file for registry
podman_registry_ca:
# Folders in which podman stores any kind of data
podman_paths:
- /var/run/podman/podman.sock
- /etc/containers
- /var/lib/containers
# Action taken on the packages
package_action: "install"