mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-15 15:58:38 -05:00
do not generate a random ident
* instead, set the ident passed to ansible runner to be the job id. That way, on we know what directory to look in for results when the directory structure is created.
This commit is contained in:
+2
-1
@@ -1183,7 +1183,8 @@ class BaseTask(object):
|
||||
status, rc = manager_instance.run(self.instance,
|
||||
private_data_dir,
|
||||
playbook,
|
||||
event_data_key=self.event_data_key)
|
||||
event_data_key=self.event_data_key,
|
||||
ident=str(self.instance.pk))
|
||||
else:
|
||||
res = ansible_runner.interface.run(**params)
|
||||
status = res.status
|
||||
|
||||
Reference in New Issue
Block a user