Commit Graph

13 Commits (4396c26af56d93ed7260fcf5392fd22e83086e33)

Author SHA1 Message Date
colynn.liu 9b981cecc6 fixed python 2.4 compatibility
nf=tempfile.NamedTemporaryFile(delete=False)
TypeError: NamedTemporaryFile() got an unexpected keyword argument 'delete'
9 years ago
Guillaume Grossetie 32658b9d3b Resolves #1312, Improve pam_limits documentation
Adds comment parameter and improve examples.
9 years ago
GUILLAUME GROSSETIE c28a0031bb Resolves #1290, Adds limit_type choice "-" 9 years ago
Ondra Machacek cfec045697 system: pam_limits: add support for unlimited/infinity/-1
Early pam_limits module didn't support special values for items.
This patch is adding support to special values unlimited, infinity and -1.

Issue: https://github.com/ansible/ansible-modules-extras/issues/1033
Signed-off-by: Ondra Machacek <machacek.ondra@gmail.com>
9 years ago
Brian Coca 1d06ee6e2d minor doc fixes to pam_limits 9 years ago
Sebastien ROHAUT 44423e4a65 Update pam_limits.py
Add version 2.0
Remove default: from documentation for required values
use atomic_move from ansible module API
9 years ago
Sebastien ROHAUT 9cb97b2898 Add "-" to ulimit type
Just edited pam_types to add the '-', as explained in man 5 limits.conf
10 years ago
Sebastien ROHAUT 4c22ee75b1 Update pam_limits.py
- Comments are now managed correctly
- Cannot use use_min and use_max at the same time
10 years ago
Sebastien ROHAUT 722d810ef2 Update pam_limits.py
Change path
10 years ago
Sebastien ROHAUT c8fbac0ff2 Update pam_limits.py 10 years ago
Sebastien ROHAUT b845c0ef56 Update pam_limits.py 10 years ago
Sebastien ROHAUT 8122edd727 Update pam_limits.py
Tabs...
10 years ago
Sebastien ROHAUT e5939fffdd Create pam_limits.py
The pam_limits module modify PAM limits, default in /etc/security/limits.conf.
 For the full documentation, see man limits.conf(5).
10 years ago