Add proper type to path and link

Since both of them are path, it should be checked using the
proper type.
pull/18777/head
Michael Scherer 9 years ago committed by Matt Clay
parent 2760c2ded0
commit 49aa069c94

@ -67,8 +67,8 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec = dict( argument_spec = dict(
name = dict(required=True), name = dict(required=True),
path = dict(required=True), path = dict(required=True, type='path'),
link = dict(required=False), link = dict(required=False, type='path'),
), ),
supports_check_mode=True, supports_check_mode=True,
) )

Loading…
Cancel
Save