mirror of
https://github.com/ansible/awx.git
synced 2026-07-12 00:44:36 -02:30
* Model changes for instance last_seen field to replace modified * Break up refresh_capacity into smaller units * Rename execution node methods, fix last_seen clustering * Use update_fields to make it clear save only affects capacity * Restructing to pass unit tests * Fix bug where a PATCH did not update capacity value
46 lines
951 B
Django/Jinja
46 lines
951 B
Django/Jinja
---
|
|
- node:
|
|
id: awx_{{ item }}
|
|
|
|
- log-level: info
|
|
|
|
- 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
|