Merge pull request #1349 from bcoca/sysctl_value_string

value should be string as that is what it compares against
This commit is contained in:
Brian Coca 2015-05-19 11:00:51 -04:00
commit 428369b76c

View file

@ -322,7 +322,7 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec = dict( argument_spec = dict(
name = dict(aliases=['key'], required=True), 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']), state = dict(default='present', choices=['present', 'absent']),
reload = dict(default=True, type='bool'), reload = dict(default=True, type='bool'),
sysctl_set = dict(default=False, type='bool'), sysctl_set = dict(default=False, type='bool'),