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:
chris meyers
2019-03-22 09:42:57 -04:00
parent 8b2fc26219
commit 87e1ba4dea
2 changed files with 4 additions and 4 deletions
+2 -1
View File
@@ -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