Skip to content

remove limit for number of containers in containers.conf #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions test/playbooks/roles/network_setup/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@
regexp: '^#dns_servers = \[\]'
line: 'dns_servers = ["192.168.222.1", "8.8.8.8"]'
state: present
- name: Unlimited number of pids for podman
ansible.builtin.lineinfile:
path: /usr/share/containers/containers.conf
regexp: '^# pids_limit = .*'
line: 'pids_limit = -1'
state: present
- name: Restart podman service
ansible.builtin.systemd_service:
state: restarted
daemon_reload: true
name: podman
# create libvirt network with dns server (only recursive)
- name: Start libvirt network
community.libvirt.virt_net:
Expand Down
Loading