Merge "Support default pid limits in containers.conf"

This commit is contained in:
Zuul 2021-02-10 15:55:16 +00:00 committed by Gerrit Code Review
commit 1dc10cd3b2
2 changed files with 13 additions and 0 deletions

View File

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

View File

@ -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 }}"