mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -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:
parent
77e704cef1
commit
eb0528c157
@ -210,7 +210,7 @@ RUN for dir in \
|
||||
/var/log/nginx \
|
||||
/var/lib/postgresql \
|
||||
/var/run/supervisor \
|
||||
/var/run/receptor \
|
||||
/var/run/awx-receptor \
|
||||
/var/lib/nginx ; \
|
||||
do mkdir -m 0775 -p $dir ; chmod g+rw $dir ; chgrp root $dir ; done && \
|
||||
for file 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 }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user