-
Notifications
You must be signed in to change notification settings - Fork 1.5k
module cannot remove certain limits pam_limits.py #1083
Comments
Now you can specify 'ensure' param, which handle if line, should exists or not in limits.conf file. Issue: ansible#1083 Signed-off-by: Ondra Machacek <machacek.ondra@gmail.com>
Now you can specify 'ensure' param, which handle if line, should exists or not in limits.conf file. Issue: ansible#1083 Signed-off-by: Ondra Machacek <machacek.ondra@gmail.com>
Now you can specify 'ensure' param, which handle if line, should exists or not in limits.conf file. Issue: ansible#1083 Signed-off-by: Ondra Machacek <machacek.ondra@gmail.com>
Now you can specify 'state' param, which handle if line, should exists or not in limits.conf file. Issue: ansible#1083 Signed-off-by: Ondra Machacek <machacek.ondra@gmail.com>
Now you can specify 'state' param, which handle if line, should exists or not in limits.conf file. Issue: ansible#1083 Signed-off-by: Ondra Machacek <machacek.ondra@gmail.com>
@ansible ping, this issue is waiting for your response. |
@ansible, ping. This issue is still waiting on your response. |
Hi - What response are you waiting on from me? |
@ansible, ping. This issue is still waiting on your response. |
This repository has been locked. All new issues and pullrequests should be filed in https://github.com/ansible/ansible Please read through the repomerge page in the dev guide. The guide contains links to tools which automatically move your issue or pullrequest to the ansible/ansible repo. |
+1 |
Hi. Came here from Google looking for how to remove an entry. Tried
|
Please raise a new issue on the main ansible/ansible repo, this repo is no longer in use. |
ISSUE TYPE
Feature Idea
COMPONENT NAME
pam_limits module
ANSIBLE VERSION
N/A
SUMMARY
Is it possible to get an ensure: absent component added to this module.
Here I have an example where I want to add limits underneath limits.d as my default but do not want the limit present in limits.conf.
Ideally I want to create a task that will check to see if the value limit_type and limit_item exists in default limits.conf and if so remove it.
Example Run Required:
pam_limits: domain=user1 limit_type=hard limit_item=nofile backup=yes ensure=abesnt
The text was updated successfully, but these errors were encountered: