Allow customizing podman's [engine]/events_logger
In I780103e17f1bb42a0546c30bd6c001c642ad88b3 we introduced the
journald default for the events_logger key. With this change we
allow to change this new default, in case we do need to change it
for some reason.
Related-Bug: #1923607
Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/794948
Change-Id: Ieffe2852111c3ec8347343a042dd78bbf691d79a
(cherry picked from commit 4ea2a6eb7c
)
This commit is contained in:
parent
fc352f94f2
commit
aaf57f21df
|
@ -55,6 +55,13 @@ parameters:
|
||||||
default: 4096
|
default: 4096
|
||||||
description: Setting to configure the default pids_limit in /etc/container/container.conf.
|
description: Setting to configure the default pids_limit in /etc/container/container.conf.
|
||||||
This is supported starting with podman 2.0.x
|
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:
|
SystemdDropInDependencies:
|
||||||
default: true
|
default: true
|
||||||
description: tell the tripleo_container_manage to inject
|
description: tell the tripleo_container_manage to inject
|
||||||
|
@ -89,6 +96,7 @@ outputs:
|
||||||
container_registry_logins: {}
|
container_registry_logins: {}
|
||||||
container_registry_logins_json: {get_param: ContainerImageRegistryCredentials}
|
container_registry_logins_json: {get_param: ContainerImageRegistryCredentials}
|
||||||
container_default_pids_limit: {get_param: ContainerDefaultPidsLimit}
|
container_default_pids_limit: {get_param: ContainerDefaultPidsLimit}
|
||||||
|
container_events_logger_mechanism: {get_param: ContainerDefaultEventsLogger}
|
||||||
|
|
||||||
- name: Convert logins json to dict
|
- name: Convert logins json to dict
|
||||||
no_log: true
|
no_log: true
|
||||||
|
@ -115,6 +123,7 @@ outputs:
|
||||||
vars:
|
vars:
|
||||||
tripleo_container_registry_insecure_registries: "{{ container_registry_insecure_registries }}"
|
tripleo_container_registry_insecure_registries: "{{ container_registry_insecure_registries }}"
|
||||||
tripleo_container_default_pids_limit: "{{ container_default_pids_limit }}"
|
tripleo_container_default_pids_limit: "{{ container_default_pids_limit }}"
|
||||||
|
tripleo_container_events_logger_mechanism: "{{ container_events_logger_mechanism }}"
|
||||||
|
|
||||||
- name: Run podman login
|
- name: Run podman login
|
||||||
include_role:
|
include_role:
|
||||||
|
|
Loading…
Reference in New Issue