mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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(
|
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…
Reference in a new issue