1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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 committed by Matt Clay
parent eba0f12769
commit b13fd5ac9a

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