Browse Source

Merge "Support default pid limits in containers.conf"

changes/74/770674/52
Zuul 9 months ago
committed by Gerrit Code Review
parent
commit
1dc10cd3b2
  1. 1
      tripleo_ansible/roles/tripleo_podman/defaults/main.yml
  2. 12
      tripleo_ansible/roles/tripleo_podman/tasks/tripleo_podman_install.yml

1
tripleo_ansible/roles/tripleo_podman/defaults/main.yml

@ -76,3 +76,4 @@ tripleo_podman_default_network_config:
# - prefix: registry.fedoraproject.org
# blocked: true
tripleo_podman_registries: []
tripleo_container_default_pids_limit: 4096

12
tripleo_ansible/roles/tripleo_podman/tasks/tripleo_podman_install.yml

@ -61,3 +61,15 @@
group: root
setype: etc_t
mode: '0644'
- name: Write containers.conf
ini_file:
path: /etc/containers/containers.conf
owner: root
group: root
setype: etc_t
mode: '0644'
create: true
section: containers
option: pids_limit
value: "{{ tripleo_container_default_pids_limit }}"

Loading…
Cancel
Save