Skip to content

Commit 33973d0

Browse files
committed
fix makefile hosts
1 parent 3872bc6 commit 33973d0

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

Makefile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,11 +1702,11 @@ postgres_nodes_deploy: ## Deploy PostgreSQL Primary & Secondary. Usage: make pos
17021702
fi
17031703
@ansible-playbook $(AGG_MODE_PLAYBOOKS_DIR)/pg_node.yaml \
17041704
-i $(AGG_MODE_ANSIBLE_DIR)/$(ENV)-inventory.yaml \
1705-
-e "host=postgres_primary" \
1705+
-e "host=postgres_1" \
17061706
-e "env=$(ENV)"
17071707
@ansible-playbook $(AGG_MODE_PLAYBOOKS_DIR)/pg_node.yaml \
17081708
-i $(AGG_MODE_ANSIBLE_DIR)/$(ENV)-inventory.yaml \
1709-
-e "host=postgres_secondary" \
1709+
-e "host=postgres_2" \
17101710
-e "env=$(ENV)"
17111711

17121712
.PHONY: postgres_migrations
@@ -1717,7 +1717,7 @@ postgres_migrations: ## Run database migrations. Usage: make postgres_migrations
17171717
fi
17181718
@ansible-playbook $(AGG_MODE_PLAYBOOKS_DIR)/postgres_migrations.yaml \
17191719
-i $(AGG_MODE_ANSIBLE_DIR)/$(ENV)-inventory.yaml \
1720-
-e "host=postgres_primary" \
1720+
-e "host=postgres_1" \
17211721
-e "env=$(ENV)"
17221722

17231723
.PHONY: postgres_status
@@ -1745,7 +1745,7 @@ gateway_deploy: ## Deploy Gateway & Poller on both servers. Usage: make gateway_
17451745
fi; \
17461746
ansible-playbook $(AGG_MODE_PLAYBOOKS_DIR)/gateway_stack.yaml \
17471747
-i $(AGG_MODE_ANSIBLE_DIR)/$(ENV)-inventory.yaml \
1748-
-e "host=gateway_primary" \
1748+
-e "host=gateway_1" \
17491749
-e "env=$(ENV)" \
17501750
$$EXTRA_VARS
17511751
@EXTRA_VARS=""; \
@@ -1754,12 +1754,12 @@ gateway_deploy: ## Deploy Gateway & Poller on both servers. Usage: make gateway_
17541754
fi; \
17551755
ansible-playbook $(AGG_MODE_PLAYBOOKS_DIR)/gateway_stack.yaml \
17561756
-i $(AGG_MODE_ANSIBLE_DIR)/$(ENV)-inventory.yaml \
1757-
-e "host=gateway_secondary" \
1757+
-e "host=gateway_2" \
17581758
-e "env=$(ENV)" \
17591759
$$EXTRA_VARS
17601760

1761-
.PHONY: gateway_primary_deploy
1762-
gateway_primary_deploy: ## Deploy Gateway & Poller on primary only. Usage: make gateway_primary_deploy ENV=hoodi [FORCE_REBUILD=true]
1761+
.PHONY: gateway_1_deploy
1762+
gateway_1_deploy: ## Deploy Gateway & Poller on gateway 1 only. Usage: make gateway_1_deploy ENV=hoodi [FORCE_REBUILD=true]
17631763
@if [ -z "$(ENV)" ]; then \
17641764
echo "Error: ENV must be set (hoodi or mainnet)"; \
17651765
exit 1; \
@@ -1770,12 +1770,12 @@ gateway_primary_deploy: ## Deploy Gateway & Poller on primary only. Usage: make
17701770
fi; \
17711771
ansible-playbook $(AGG_MODE_PLAYBOOKS_DIR)/gateway_stack.yaml \
17721772
-i $(AGG_MODE_ANSIBLE_DIR)/$(ENV)-inventory.yaml \
1773-
-e "host=gateway_primary" \
1773+
-e "host=gateway_1" \
17741774
-e "env=$(ENV)" \
17751775
$$EXTRA_VARS
17761776

1777-
.PHONY: gateway_secondary_deploy
1778-
gateway_secondary_deploy: ## Deploy Gateway & Poller on secondary only. Usage: make gateway_secondary_deploy ENV=hoodi [FORCE_REBUILD=true]
1777+
.PHONY: gateway_2_deploy
1778+
gateway_2_deploy: ## Deploy Gateway & Poller on gateway 2 only. Usage: make gateway_2_deploy ENV=hoodi [FORCE_REBUILD=true]
17791779
@if [ -z "$(ENV)" ]; then \
17801780
echo "Error: ENV must be set (hoodi or mainnet)"; \
17811781
exit 1; \
@@ -1786,7 +1786,7 @@ gateway_secondary_deploy: ## Deploy Gateway & Poller on secondary only. Usage: m
17861786
fi; \
17871787
ansible-playbook $(AGG_MODE_PLAYBOOKS_DIR)/gateway_stack.yaml \
17881788
-i $(AGG_MODE_ANSIBLE_DIR)/$(ENV)-inventory.yaml \
1789-
-e "host=gateway_secondary" \
1789+
-e "host=gateway_2" \
17901790
-e "env=$(ENV)" \
17911791
$$EXTRA_VARS
17921792

0 commit comments

Comments
 (0)