mirror of
https://github.com/ansible/awx.git
synced 2026-03-19 18:07:33 -02:30
Add elements as str for export in collection
This commit is contained in:
@@ -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
|
# We are not going to raise an error here because the __init__ method of ControllerAWXKitModule will do that for us
|
||||||
if HAS_EXPORTABLE_RESOURCES:
|
if HAS_EXPORTABLE_RESOURCES:
|
||||||
for resource in 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)
|
module = ControllerAWXKitModule(argument_spec=argument_spec)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user