Browse Source

Merge "Allow customizing podman's [engine]/events_logger" into stable/ussuri

changes/54/795754/1 12.4.4
Zuul 6 days ago
committed by Gerrit Code Review
parent
commit
d1faccb851
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      deployment/podman/podman-baremetal-ansible.yaml

+ 9
- 0
deployment/podman/podman-baremetal-ansible.yaml View File

@ -58,6 +58,13 @@ parameters:
default: 4096
description: Setting to configure the default pids_limit in /etc/container/container.conf.
This is supported starting with podman 2.0.x
ContainerDefaultEventsLogger:
type: string
default: 'journald'
description: Setting to configure where podman logs its events. Uses journald by default
as that will rotate data stored in tmpfs.
constraints:
- allowed_values: ['journald', 'file', 'none']
SystemdDropInDependencies:
default: true
description: tell the container manager (e.g. paunch) to inject
@ -91,6 +98,7 @@ outputs:
container_registry_logins: {}
container_registry_logins_json: {get_param: ContainerImageRegistryCredentials}
container_default_pids_limit: {get_param: ContainerDefaultPidsLimit}
container_events_logger_mechanism: {get_param: ContainerDefaultEventsLogger}
- name: Convert logins json to dict
set_fact:
@ -115,6 +123,7 @@ outputs:
vars:
tripleo_container_registry_insecure_registries: "{{ container_registry_insecure_registries }}"
tripleo_container_default_pids_limit: "{{ container_default_pids_limit }}"
tripleo_container_events_logger_mechanism: "{{ container_events_logger_mechanism }}"
- name: Run podman login
include_role:


Loading…
Cancel
Save