colynn.liu
ed48fb0f25
fixed python 2.4 compatibility
...
nf=tempfile.NamedTemporaryFile(delete=False)
TypeError: NamedTemporaryFile() got an unexpected keyword argument 'delete'
2016-12-08 11:33:45 -05:00
Guillaume Grossetie
af12e6d3a3
Resolves #1312 , Improve pam_limits documentation
...
Adds comment parameter and improve examples.
2016-12-08 11:33:37 -05:00
GUILLAUME GROSSETIE
5fbc5cb529
Resolves #1290 , Adds limit_type choice "-"
2016-12-08 11:33:36 -05:00
Ondra Machacek
d43d4718f3
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>
2016-12-08 11:33:30 -05:00
Brian Coca
9f57c1b114
minor doc fixes to pam_limits
2016-12-08 11:33:05 -05:00
Sebastien ROHAUT
5be637a354
Update pam_limits.py
...
Add version 2.0
Remove default: from documentation for required values
use atomic_move from ansible module API
2016-12-08 11:33:05 -05:00
Sebastien ROHAUT
1c76fb14bb
Add "-" to ulimit type
...
Just edited pam_types to add the '-', as explained in man 5 limits.conf
2016-12-08 11:33:04 -05:00
Sebastien ROHAUT
c62430b452
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).
2016-12-08 11:33:04 -05:00