diff options
| author | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-12-13 18:54:21 -0700 |
|---|---|---|
| committer | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-12-13 18:54:21 -0700 |
| commit | 32086f62131e1b813e2f3d97bc2c78f66c6a3154 (patch) | |
| tree | 2005059011aea64121af64de5b3567fd0dcbca3b /playbooks/ulimit.yaml | |
| parent | 21fa10807bb475bff42a997ac4add3cc7e6346f9 (diff) | |
adding files
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"} |
