From fedea2c88695b6417e21ae48402d4c261ccd3362 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Tue, 17 Mar 2015 16:12:55 -0500 Subject: [PATCH] Removing comments we don't need from our limits.conf template Signed-off-by: Andrew Schoen --- roles/common/templates/limits.conf | 45 ++---------------------------- 1 file changed, 2 insertions(+), 43 deletions(-) diff --git a/roles/common/templates/limits.conf b/roles/common/templates/limits.conf index 9914b42..2e4997e 100644 --- a/roles/common/templates/limits.conf +++ b/roles/common/templates/limits.conf @@ -1,3 +1,5 @@ +# {{ ansible_managed }} +# # /etc/security/limits.conf # #This file sets the resource limits for the users logged in via PAM. @@ -14,48 +16,5 @@ #Each line describes a limit for a user in the form: # # -# -#Where: -# can be: -# - a user name -# - a group name, with @group syntax -# - the wildcard *, for default entry -# - the wildcard %, can be also used with %group syntax, -# for maxlogin limit -# -# can have the two values: -# - "soft" for enforcing the soft limits -# - "hard" for enforcing hard limits -# -# can be one of the following: -# - core - limits the core file size (KB) -# - data - max data size (KB) -# - fsize - maximum filesize (KB) -# - memlock - max locked-in-memory address space (KB) -# - nofile - max number of open files -# - rss - max resident set size (KB) -# - stack - max stack size (KB) -# - cpu - max CPU time (MIN) -# - nproc - max number of processes -# - as - address space limit (KB) -# - maxlogins - max number of logins for this user -# - maxsyslogins - max number of logins on the system -# - priority - the priority to run user process with -# - locks - max number of file locks the user can hold -# - sigpending - max number of pending signals -# - msgqueue - max memory used by POSIX message queues (bytes) -# - nice - max nice priority allowed to raise to values: [-20, 19] -# - rtprio - max realtime priority -# -# -# * soft core unlimited -#* hard rss 10000 -#@student hard nproc 20 -#@faculty soft nproc 20 -#@faculty hard nproc 50 -#ftp hard nproc 0 -#@student - maxlogins 4 - -# End of file -- 2.39.5