From 32f7dfece1205580a66bc772ed47ac6ef25de229 Mon Sep 17 00:00:00 2001 From: John Westcott IV <32551173+john-westcott-iv@users.noreply.github.com> Date: Tue, 18 Apr 2023 09:29:25 -0400 Subject: [PATCH] Changing check for all in awx.awx.export (#13854) --- 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 d04e996056..871c89d90e 100644 --- a/awx_collection/plugins/modules/export.py +++ b/awx_collection/plugins/modules/export.py @@ -159,7 +159,7 @@ def main(): # Here we are going to setup a dict of values to export export_args = {} for resource in EXPORTABLE_RESOURCES: - if module.params.get('all') or module.params.get(resource) == 'all': + if module.params.get('all') or module.params.get(resource) == ['all']: # If we are exporting everything or we got the keyword "all" we pass in an empty string for this asset type export_args[resource] = '' else: