mirror of
https://github.com/ansible/awx.git
synced 2026-03-18 01:17:35 -02:30
Changing check for all in awx.awx.export (#13854)
This commit is contained in:
@@ -159,7 +159,7 @@ def main():
|
|||||||
# Here we are going to setup a dict of values to export
|
# Here we are going to setup a dict of values to export
|
||||||
export_args = {}
|
export_args = {}
|
||||||
for resource in EXPORTABLE_RESOURCES:
|
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
|
# If we are exporting everything or we got the keyword "all" we pass in an empty string for this asset type
|
||||||
export_args[resource] = ''
|
export_args[resource] = ''
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user