From ac57f5cb28135ca5abb96905c33ffa20ea04e774 Mon Sep 17 00:00:00 2001 From: Artsiom Musin Date: Wed, 9 Nov 2022 20:38:52 +0100 Subject: [PATCH] Add elements as str for export in collection --- awx_collection/plugins/modules/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx_collection/plugins/modules/export.py b/awx_collection/plugins/modules/export.py index dc4cd8332d..691892316b 100644 --- a/awx_collection/plugins/modules/export.py +++ b/awx_collection/plugins/modules/export.py @@ -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)