mirror of
https://github.com/ansible/awx.git
synced 2026-02-21 13:10:11 -03:30
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