File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
awx_collection/plugins/modules Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -284,9 +284,9 @@ def main():
284284 if ee is not None :
285285 inventory_source_fields ['execution_environment' ] = module .resolve_name_to_id ('execution_environments' , ee )
286286 if source_project is not None :
287- source_project_object = module .get_one ('projects' , name_or_id = source_project , data = lookup_data )
287+ source_project_object = module .get_one ('projects' , name_or_id = source_project )
288288 if not source_project_object :
289- module .fail_json (msg = 'The specified source project, {0}, was not found.' .format (lookup_data ))
289+ module .fail_json (msg = 'The specified source project, {0}, was not found.' .format (source_project ))
290290 inventory_source_fields ['source_project' ] = source_project_object ['id' ]
291291
292292 OPTIONAL_VARS = (
You can’t perform that action at this time.
0 commit comments