summaryrefslogtreecommitdiff
path: root/system/sysctl.py
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2015-05-18 08:40:12 -0400
committerBrian Coca <brian.coca+git@gmail.com>2015-05-18 14:30:43 -0400
commit78d84dc400a0f42f0b6a03ab981a54f7e70fdf6d (patch)
treeddead218b7ec3f0cbdca4d97833eaa6098bc4fc7 /system/sysctl.py
parent627593b43a0dc33050b2ede1efa9fa08080ebb92 (diff)
downloadansible-modules-core-78d84dc400a0f42f0b6a03ab981a54f7e70fdf6d.tar.gz
value should be string as that is what it compares against
Diffstat (limited to 'system/sysctl.py')
-rw-r--r--system/sysctl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/sysctl.py b/system/sysctl.py
index 4517c724..c5a68685 100644
--- a/system/sysctl.py
+++ b/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'),