diff options
Diffstat (limited to 'playbooks/ulimit.yaml')
| -rw-r--r-- | playbooks/ulimit.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/playbooks/ulimit.yaml b/playbooks/ulimit.yaml new file mode 100644 index 0000000..84cd6e0 --- /dev/null +++ b/playbooks/ulimit.yaml @@ -0,0 +1,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"} |
