@@ -317,15 +317,16 @@ def ansible_project(
317317 _print (f"Playbook path: { playbook_path } " )
318318
319319 return AnsibleProject (
320- playbook = playbook_path ,
321- inventory = inventory_path ,
320+ collection_doc_cache = tmp_path / "collection_doc_cache.db" ,
322321 directory = tmp_path ,
323- role = integration_test_path . name ,
322+ inventory = inventory_path ,
324323 log_file = Path .home () / "test_logs" / f"{ integration_test_path .name } .log" ,
324+ playbook = playbook_path ,
325325 playbook_artifact = Path .home ()
326326 / "test_logs"
327327 / "{playbook_status}"
328328 / f"{ integration_test_path .name } .json" ,
329+ role = integration_test_path .name ,
329330 )
330331
331332
@@ -404,12 +405,13 @@ def localhost_project(
404405 _print (f"Playbook path: { playbook_path } " )
405406
406407 return AnsibleProject (
407- playbook = playbook_path ,
408+ collection_doc_cache = tmp_path / "collection_doc_cache.db" ,
408409 directory = tmp_path ,
409- role = integration_test_path .name ,
410410 log_file = Path .home () / "test_logs" / f"{ integration_test_path .name } .log" ,
411+ playbook = playbook_path ,
411412 playbook_artifact = Path .home ()
412413 / "test_logs"
413414 / "{playbook_status}"
414415 / f"{ integration_test_path .name } .json" ,
416+ role = integration_test_path .name ,
415417 )
0 commit comments