Alexandre Garnier
91c498557c
Fix mixed type comparison resulting in wrong changed
( #2772 )
...
When using `use_max` or `use_min` in `pam_limits`, the new value is an integer compared with the actual_value which is a string, so they are always different and the module reports a changed but none occurred.
2016-09-17 08:26:52 +02:00
Brian Coca
29be1310e1
add missing author info
2016-05-20 09:19:23 -04:00
colynn.liu
9b981cecc6
fixed python 2.4 compatibility
...
nf=tempfile.NamedTemporaryFile(delete=False)
TypeError: NamedTemporaryFile() got an unexpected keyword argument 'delete'
2016-01-22 18:05:48 +08:00
Guillaume Grossetie
32658b9d3b
Resolves #1312 , Improve pam_limits documentation
...
Adds comment parameter and improve examples.
2015-12-01 14:27:50 +01:00
GUILLAUME GROSSETIE
c28a0031bb
Resolves #1290 , Adds limit_type choice "-"
2015-11-26 11:37:59 +01:00
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>
2015-10-22 20:57:38 +02:00
Brian Coca
1d06ee6e2d
minor doc fixes to pam_limits
2015-07-28 08:50:23 -04:00
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
2015-06-21 18:52:59 +02:00
Sebastien ROHAUT
9cb97b2898
Add "-" to ulimit type
...
Just edited pam_types to add the '-', as explained in man 5 limits.conf
2015-01-23 20:07:27 +01:00
Sebastien ROHAUT
4c22ee75b1
Update pam_limits.py
...
- Comments are now managed correctly
- Cannot use use_min and use_max at the same time
2014-12-24 15:36:54 +01:00
Sebastien ROHAUT
722d810ef2
Update pam_limits.py
...
Change path
2014-10-30 11:13:17 +01:00
Sebastien ROHAUT
c8fbac0ff2
Update pam_limits.py
2014-10-30 11:10:49 +01:00
Sebastien ROHAUT
b845c0ef56
Update pam_limits.py
2014-10-30 11:10:02 +01:00
Sebastien ROHAUT
8122edd727
Update pam_limits.py
...
Tabs...
2014-10-30 11:07:42 +01:00
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).
2014-10-30 11:03:44 +01:00