mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 10:40:01 -03:30
dev environment - change location of receptor socket and sync awx and receptor nodes function (#11005)
* Change the location of the receptor socket to /var/run/awx-receptor, to match what the installer is currently doing. * Sync awx and receptor nodes for control socket Co-authored-by: Jeff Bradberry <jeff.bradberry@gmail.com>
This commit is contained in:
@@ -7,3 +7,4 @@ pg_username: 'awx'
|
||||
pg_database: 'awx'
|
||||
control_plane_node_count: 1
|
||||
minikube_container_group: false
|
||||
receptor_socket_file: /var/run/awx-receptor/receptor.sock
|
||||
|
||||
@@ -18,7 +18,7 @@ services:
|
||||
SDB_PORT: {{ awx_sdb_port_start }}
|
||||
AWX_GROUP_QUEUES: tower
|
||||
MAIN_NODE_TYPE: "${MAIN_NODE_TYPE:-hybrid}"
|
||||
RECEPTORCTL_SOCKET: /var/run/receptor/receptor.sock
|
||||
RECEPTORCTL_SOCKET: {{ receptor_socket_file }}
|
||||
{% if loop.index == 1 %}
|
||||
RUN_MIGRATIONS: 1
|
||||
{% endif %}
|
||||
@@ -114,6 +114,8 @@ services:
|
||||
container_name: tools_receptor_{{ loop.index }}
|
||||
hostname: receptor-{{ loop.index }}
|
||||
command: 'receptor --config /etc/receptor/receptor.conf'
|
||||
environment:
|
||||
RECEPTORCTL_SOCKET: {{ receptor_socket_file }}
|
||||
links:
|
||||
- receptor-hop
|
||||
volumes:
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
- control-service:
|
||||
service: control
|
||||
filename: /var/run/receptor/receptor.sock
|
||||
filename: {{ receptor_socket_file }}
|
||||
|
||||
- work-command:
|
||||
worktype: local
|
||||
|
||||
@@ -16,3 +16,4 @@
|
||||
|
||||
- control-service:
|
||||
service: control
|
||||
filename: {{ receptor_socket_file }}
|
||||
|
||||
Reference in New Issue
Block a user