mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Changing check for all in awx.awx.export (#13854)
This commit is contained in:
parent
886ba1ea7f
commit
32f7dfece1
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user