Make the AWX nodes fully connected in the development environment (#10758)

This commit is contained in:
Alan Rominger
2021-07-27 11:19:07 -04:00
parent 289beb85d2
commit 46ccc58749
5 changed files with 17 additions and 33 deletions

View File

@@ -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