Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sysctl module #6806

Closed
jasonmader opened this issue Apr 1, 2014 · 2 comments
Closed

sysctl module #6806

jasonmader opened this issue Apr 1, 2014 · 2 comments
Labels
bug This issue/PR relates to a bug. P2 Priority 2 - Issue Blocks Release

Comments

@jasonmader
Copy link

Issue Type:

Bug Report

Ansible Version:

ansible 1.6 (devel 8115539) last updated 2014/03/31 13:09:21 (GMT -400)

Environment:

SLES 11 SP 3

Summary:

Module sysctl makes incorrect changes to sysctl parameters. I've tested it with a single entry depicted below.

Steps To Reproduce:
tasks:
- sysctl: name=kernel.sysrq value=0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
Expected Results:
TASK: [sysctl name=kernel.sysrq value=0] **************************************
ok: [master] => {"changed": false}
Actual Results:
PLAY [master] *****************************************************************

GATHERING FACTS ***************************************************************
ok: [master]

TASK: [sysctl name=kernel.sysrq value=0] **************************************
changed: [master] => {"changed": true}

PLAY RECAP ********************************************************************
master           : ok=2    changed=1    unreachable=0    failed=0
master # sysctl kernel.sysrq
kernel.sysrq = 1
@jimi-c
Copy link
Member

jimi-c commented Apr 2, 2014

Looks like 0e8c7b1 broke this.

@jimi-c jimi-c closed this as completed in eb15d2f Apr 2, 2014
@jimi-c
Copy link
Member

jimi-c commented Apr 2, 2014

The above patch should fix the issue for you, and will be included in the next major release. If you continue seeing problems related to this issue, or if you have any further questions, please let us know. Thanks!

@ansibot ansibot added bug This issue/PR relates to a bug. and removed bug_report labels Mar 6, 2018
@ansible ansible locked and limited conversation to collaborators Apr 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug. P2 Priority 2 - Issue Blocks Release
Projects
None yet
Development

No branches or pull requests

5 participants