Add elements as str for export in collection

This commit is contained in:
Artsiom Musin 2022-11-09 20:38:52 +01:00
parent c39172f516
commit ac57f5cb28

View File

@ -120,7 +120,7 @@ def main():
# We are not going to raise an error here because the __init__ method of ControllerAWXKitModule will do that for us
if HAS_EXPORTABLE_RESOURCES:
for resource in EXPORTABLE_RESOURCES:
argument_spec[resource] = dict(type='list')
argument_spec[resource] = dict(type='list', elements='str')
module = ControllerAWXKitModule(argument_spec=argument_spec)