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

Fix specify list elements in argument_spec

This commit is contained in:
Ralf Langebrake 2024-02-03 03:07:58 +01:00
parent 832b7fb254
commit 2b441d34f4

View file

@ -259,8 +259,8 @@ def run_module():
working_dir=dict(type='path', required=True), working_dir=dict(type='path', required=True),
command=dict(type='str', required=True), command=dict(type='str', required=True),
php_path=dict(type='path'), php_path=dict(type='path'),
options=dict(type='list', default=[]), options=dict(type='list', elements='str', default=[]),
args=dict(type='list', default=[]), args=dict(type='list', elements='str', default=[]),
) )
# instantiate the AnsibleModule object # instantiate the AnsibleModule object