mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 10:40:01 -03:30
add instance groups and queues to cluster tooling
This commit is contained in:
4
Makefile
4
Makefile
@@ -350,9 +350,11 @@ init:
|
||||
fi; \
|
||||
tower-manage register_instance --hostname=$(COMPOSE_HOST); \
|
||||
tower-manage register_queue --queuename=tower --hostnames=$(COMPOSE_HOST);\
|
||||
if [ "$(DOCKER_TOOLS_DIR)" == "tools/docker-isolated" ]; then \
|
||||
if [ "$(EXTRA_GROUP_QUEUES)" == "thepentagon" ]; then \
|
||||
tower-manage register_instance --hostname=isolated; \
|
||||
tower-manage register_queue --queuename='thepentagon' --hostnames=isolated --controller=tower; \
|
||||
elif [ "$(EXTRA_GROUP_QUEUES)" != "" ]; then \
|
||||
tower-manage register_queue --queuename=$(EXTRA_GROUP_QUEUES) --hostnames=$(COMPOSE_HOST); \
|
||||
fi;
|
||||
|
||||
# Refresh development environment after pulling new code.
|
||||
|
||||
Reference in New Issue
Block a user