summaryrefslogtreecommitdiff
path: root/playbooks/ulimit.yaml
blob: 84cd6e003584d7f6e8f53319bf69097e31927f46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- name: "Set nofile limits"
  pam_limits:
    domain: "{{ item.user }}"
    limit_type: "{{ item.type }}"
    limit_item: nofile
    value: 65535
  with_items:
    - { user: "*", type: "soft"}
    - { user: "*", type: "hard"}
    - { user: "root", type: "soft"}
    - { user: "root", type: "hard"}