Browse Source

Merge "Add podman's events_logger option by default set to journald" into stable/train

stable/train
Zuul 4 days ago
committed by Gerrit Code Review
parent
commit
2f1fb2439e
2 changed files with 11 additions and 3 deletions
  1. +1
    -0
      tripleo_ansible/roles/tripleo-podman/defaults/main.yml
  2. +10
    -3
      tripleo_ansible/roles/tripleo-podman/tasks/tripleo_podman_install.yml

+ 1
- 0
tripleo_ansible/roles/tripleo-podman/defaults/main.yml View File

@ -51,3 +51,4 @@ tripleo_podman_default_network_config:
portMappings: true
- type: firewall
- type: tuning
tripleo_container_events_logger_mechanism: journald

+ 10
- 3
tripleo_ansible/roles/tripleo-podman/tasks/tripleo_podman_install.yml View File

@ -70,6 +70,13 @@
setype: etc_t
mode: '0644'
create: true
section: containers
option: pids_limit
value: "{{ tripleo_container_default_pids_limit }}"
section: "{{ item.section }}"
option: "{{ item.option }}"
value: "{{ item.value }}"
loop:
- section: containers
option: pids_limit
value: "{{ tripleo_container_default_pids_limit }}"
- section: engine
option: events_logger
value: "\"{{ tripleo_container_events_logger_mechanism }}\""

Loading…
Cancel
Save