8212cd655d
Change-Id: I91c7cd475c0a1139f73ff76b71b90ab3aae1445b
14 lines
445 B
YAML
14 lines
445 B
YAML
- name: Update containers.conf configuration
|
|
hosts: all
|
|
tasks:
|
|
- name: Add default_ulimits configuration to containers.conf
|
|
ansible.builtin.blockinfile:
|
|
path: "{{ ansible_user_dir }}/.config/containers/containers.conf"
|
|
block: |
|
|
[containers]
|
|
default_ulimits = [
|
|
"nofile=5000:10000",
|
|
]
|
|
marker: "# {mark} ANSIBLE MANAGED BLOCK for default_ulimits"
|
|
create: yes
|