Packer.Images/ansible/roles/os/tasks/sysctl.yml

12 lines
310 B
YAML
Raw Normal View History

- name: Configure inotify limits
ansible.posix.sysctl:
name: "{{ item.name }}"
value: "{{ item.value }}"
loop:
- name: fs.inotify.max_user_instances
value: '512'
- name: fs.inotify.max_user_watches
value: '524288'
loop_control:
label: "{{ item.name ~ '=' ~ item.value }}"