Add proper type to path and link
Since both of them are path, it should be checked using the proper type.
This commit is contained in:
parent
2760c2ded0
commit
49aa069c94
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ def main():
|
|||
module = AnsibleModule(
|
||||
argument_spec = dict(
|
||||
name = dict(required=True),
|
||||
path = dict(required=True),
|
||||
link = dict(required=False),
|
||||
path = dict(required=True, type='path'),
|
||||
link = dict(required=False, type='path'),
|
||||
),
|
||||
supports_check_mode=True,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue