Skip to content

Commit eb09d3a

Browse files
committed
remove limit for number of containers in containers.conf
Signed-off-by: Riccardo Piccoli <rpiccoli@redhat.com>
1 parent 52da144 commit eb09d3a

File tree

1 file changed

+6
-0
lines changed
  • test/playbooks/roles/network_setup/tasks

1 file changed

+6
-0
lines changed

test/playbooks/roles/network_setup/tasks/main.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
regexp: '^#dns_servers = \[\]'
1313
line: 'dns_servers = ["192.168.222.1", "8.8.8.8"]'
1414
state: present
15+
- name: Unlimited number of pids for containerd
16+
ansible.builtin.lineinfile:
17+
path: /usr/share/containers/containers.conf
18+
regexp: '^#pids_limit = .*'
19+
line: 'pids_limit = 0'
20+
state: present
1521
# create libvirt network with dns server (only recursive)
1622
- name: Start libvirt network
1723
community.libvirt.virt_net:

0 commit comments

Comments
 (0)