summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien ROHAUT <sebastien.rohaut@free.fr>2015-01-23 20:07:27 +0100
committerSebastien ROHAUT <sebastien.rohaut@free.fr>2015-01-23 20:07:27 +0100
commit9cb97b28986548e20eb2e1e16c1ed810359b6b66 (patch)
treee3f0f2ca5773bea938a8a05da7fd546be95b612b
parent4c22ee75b15bd412118231d3a89450a44f595af8 (diff)
downloadansible-modules-extras-9cb97b28986548e20eb2e1e16c1ed810359b6b66.tar.gz
Add "-" to ulimit type
Just edited pam_types to add the '-', as explained in man 5 limits.conf
-rw-r--r--system/pam_limits.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/pam_limits.py b/system/pam_limits.py
index 2a6bec38..649b9a17 100644
--- a/system/pam_limits.py
+++ b/system/pam_limits.py
@@ -95,7 +95,7 @@ def main():
pam_items = [ 'core', 'data', 'fsize', 'memlock', 'nofile', 'rss', 'stack', 'cpu', 'nproc', 'as', 'maxlogins', 'maxsyslogins', 'priority', 'locks', 'sigpending', 'msgqueue', 'nice', 'rtprio', 'chroot' ]
- pam_types = [ 'soft', 'hard' ]
+ pam_types = [ 'soft', 'hard', '-' ]
limits_conf = '/etc/security/limits.conf'