mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-27 02:11:48 -05:00
Treat the awx_1 node as a hybrid node for now, use local work type (#10726)
This commit is contained in:
@@ -3231,7 +3231,10 @@ class AWXReceptorJob:
|
||||
else:
|
||||
work_type = 'kubernetes-incluster-auth'
|
||||
elif isinstance(self.task.instance, (Job, AdHocCommand)):
|
||||
work_type = 'ansible-runner'
|
||||
if self.task.instance.execution_node == self.task.instance.controller_node:
|
||||
work_type = 'local'
|
||||
else:
|
||||
work_type = 'ansible-runner'
|
||||
else:
|
||||
work_type = 'local'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user