From b13fd5ac9a42aff7d423ede8a3490454c6c08cbf Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 18 May 2015 08:40:12 -0400 Subject: [PATCH] value should be string as that is what it compares against --- lib/ansible/modules/system/sysctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/sysctl.py b/lib/ansible/modules/system/sysctl.py index 4517c724ca9..c5a68685053 100644 --- a/lib/ansible/modules/system/sysctl.py +++ b/lib/ansible/modules/system/sysctl.py @@ -322,7 +322,7 @@ def main(): module = AnsibleModule( argument_spec = dict( name = dict(aliases=['key'], required=True), - value = dict(aliases=['val'], required=False), + value = dict(aliases=['val'], required=False, type='str'), state = dict(default='present', choices=['present', 'absent']), reload = dict(default=True, type='bool'), sysctl_set = dict(default=False, type='bool'),