Merge pull request #13608 from AlanCoding/keepalive

Use ansible-runner change to get periodic keep-alive messages in K8S
This commit is contained in:
Alan Rominger
2023-03-06 14:34:37 -05:00
committed by GitHub
8 changed files with 47 additions and 0 deletions

View File

@@ -85,6 +85,8 @@ class RunnerCallback:
# which generate job events from two 'streams':
# ansible-inventory and the awx.main.commands.inventory_import
# logger
if event_data.get('event') == 'keepalive':
return
if event_data.get(self.event_data_key, None):
if self.event_data_key != 'job_id':