mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 07:56:06 -03:30
FOLLOW UP ON THIS: Fix fact_cache directory location
The part where we pass in the runner params to the processor phase is legit. Need to investigate why the fact_cache directory is no longer nested under job.id.
This commit is contained in:
committed by
Shane McDonald
parent
cf96275f1b
commit
e453afa064
@@ -1994,7 +1994,7 @@ class RunJob(BaseTask):
|
|||||||
return
|
return
|
||||||
if job.use_fact_cache:
|
if job.use_fact_cache:
|
||||||
job.finish_job_fact_cache(
|
job.finish_job_fact_cache(
|
||||||
os.path.join(private_data_dir, 'artifacts', str(job.id), 'fact_cache'),
|
os.path.join(private_data_dir, 'artifacts', 'fact_cache'),
|
||||||
fact_modification_times,
|
fact_modification_times,
|
||||||
)
|
)
|
||||||
if isolated_manager_instance and not job.is_containerized:
|
if isolated_manager_instance and not job.is_containerized:
|
||||||
@@ -3201,7 +3201,8 @@ class AWXReceptorJob:
|
|||||||
_input=resultfile,
|
_input=resultfile,
|
||||||
event_handler=self.task.event_handler,
|
event_handler=self.task.event_handler,
|
||||||
finished_callback=self.task.finished_callback,
|
finished_callback=self.task.finished_callback,
|
||||||
status_handler=self.task.status_handler)
|
status_handler=self.task.status_handler,
|
||||||
|
**self.runner_params)
|
||||||
|
|
||||||
def cancel_watcher(self, processor_future):
|
def cancel_watcher(self, processor_future):
|
||||||
while True:
|
while True:
|
||||||
|
|||||||
Reference in New Issue
Block a user