value should be string as that is what it compares against

This commit is contained in:
Brian Coca 2015-05-18 08:40:12 -04:00
parent 627593b43a
commit 78d84dc400

View file

@ -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'),