mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00: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:
committed by
Matt Clay
parent
2760c2ded0
commit
49aa069c94
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user