Manage (security)limits in Debian-like systems.
None
-
limits_pam_files
[default:['/etc/pam.d/common-session', '/etc/pam.d/common-session-noninteractive']
]: Pam files to enable limits for -
limits_conf_d_files
[default:{}
]: Limits configuration file declarations -
limits_conf_d_files.key
: The name of the limits configuration file (e.g000-percona-server.conf
) -
limits_conf_d_files.key.domain
: The domain (e.gmysql
) -
limits_conf_d_files.key.type
: The type (e.g.soft
) -
limits_conf_d_files.key.item
: The item (e.g.nofile
) -
limits_conf_d_files.key.value
: The value (e.g.65535
)
None
---
- hosts: all
roles:
- limits
---
- hosts: all
roles:
- limits
vars:
limits_conf_d_files:
000-percona-server.conf:
- domain: mysql
type: soft
item: nofile
value: 65535
- domain: mysql
type: hard
item: nofile
value: 65535
MIT
Mischa ter Smitten (based on work of Julien Dauphant)
Are welcome!