mirror of
https://github.com/ansible/awx.git
synced 2026-02-17 03:00:04 -03:30
Make use of new keepalive messages from ansible-runner
Make setting API configurable and process keepalive events when seen in the event callback Use env var in pod spec and make it specific to K8S
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user