Oefenweb.limits
limits
Manage (security)limits in Debian-like systems.
Requirements
None
Variables
limits_pam_files[default:['/etc/pam.d/common-session', '/etc/pam.d/common-session-noninteractive']]: Pam files to enable limits forlimits_conf_d_files[default:{}]: Limits configuration file declarationslimits_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)
Dependencies
None
Example(s)
Simple configuration
---
- hosts: all
roles:
- oefenweb.limits
Percona Server (open_files_limit)
---
- hosts: all
roles:
- oefenweb.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
License
MIT
Author Information
Mischa ter Smitten (based on work of Julien Dauphant)
Feedback, bug-reports, requests, ...
Are welcome!
Install
ansible-galaxy install Oefenweb.limitsLicense
bsd-2-clause
Downloads
25.8k
Owner
