diff options
author | Alan Rominger <arominge@redhat.com> | 2021-08-26 19:37:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 19:37:13 +0200 |
commit | ee4792dbf8380007456e090716d408c5b3ea38d3 (patch) | |
tree | bd2acd65f2c3e02fc6b4ee4d9233cd9bce8c6166 /Makefile | |
parent | Clean up work_type processing and fix execution vs control capacity (#10930) (diff) | |
download | awx-ee4792dbf8380007456e090716d408c5b3ea38d3.tar.xz awx-ee4792dbf8380007456e090716d408c5b3ea38d3.zip |
Add an option to create a cluster with control-only nodes (#10946)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -17,6 +17,7 @@ VERSION := $(shell cat VERSION) # NOTE: This defaults the container image version to the branch that's active COMPOSE_TAG ?= $(GIT_BRANCH) COMPOSE_HOST ?= $(shell hostname) +MAIN_NODE_TYPE ?= hybrid VENV_BASE ?= /var/lib/awx/venv/ SCL_PREFIX ?= @@ -172,7 +173,7 @@ init: if [ "$(VENV_BASE)" ]; then \ . $(VENV_BASE)/awx/bin/activate; \ fi; \ - $(MANAGEMENT_COMMAND) provision_instance --hostname=$(COMPOSE_HOST); \ + $(MANAGEMENT_COMMAND) provision_instance --hostname=$(COMPOSE_HOST) --node_type=$(MAIN_NODE_TYPE); \ $(MANAGEMENT_COMMAND) register_queue --queuename=controlplane --instance_percent=100;\ if [ ! -f /etc/receptor/certs/awx.key ]; then \ rm -f /etc/receptor/certs/*; \ |