mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 00:37:37 -02:30
Make the AWX nodes fully connected in the development environment (#10758)
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
---
|
||||
- node:
|
||||
id: awx_{{ item }}
|
||||
|
||||
- log-level:
|
||||
debug
|
||||
|
||||
- tcp-listener:
|
||||
port: 2222
|
||||
|
||||
{% for i in range(item | int + 1, control_plane_node_count | int + 1) %}
|
||||
- tcp-peer:
|
||||
address: awx_{{ i }}:2222
|
||||
redial: true
|
||||
{% endfor %}
|
||||
|
||||
#- tls-server:
|
||||
# name: mutual-tls
|
||||
# cert: /etc/receptor/certs/awx.crt
|
||||
# key: /etc/receptor/certs/awx.key
|
||||
# requireclientcert: true
|
||||
# clientcas: /etc/receptor/certs/ca.crt
|
||||
|
||||
- control-service:
|
||||
service: control
|
||||
filename: /var/run/receptor/receptor.sock
|
||||
|
||||
- work-command:
|
||||
worktype: local
|
||||
command: ansible-runner
|
||||
params: worker
|
||||
allowruntimeparams: true
|
||||
|
||||
- work-kubernetes:
|
||||
worktype: kubernetes-runtime-auth
|
||||
authmethod: runtime
|
||||
allowruntimeauth: true
|
||||
allowruntimepod: true
|
||||
allowruntimeparams: true
|
||||
|
||||
- work-kubernetes:
|
||||
worktype: kubernetes-incluster-auth
|
||||
authmethod: incluster
|
||||
allowruntimeauth: true
|
||||
allowruntimepod: true
|
||||
allowruntimeparams: true
|
||||
Reference in New Issue
Block a user