summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f79af57..154808b 100644
--- a/Makefile
+++ b/Makefile
@@ -22,13 +22,13 @@ lint:
.PHONY: ping
ping:
- $(BIN)/ansible hollyhock -m ping -e @vault.yaml -e "ansible_user=$(or $(ANSIBLE_USER),ansible)"
+ $(BIN)/ansible hollyhock -m ping -e @vault.yaml -e "ansible_user=$(or $(ANSIBLE_USER),ansible)" $(if $(ANSIBLE_PORT),-e "ansible_port=$(ANSIBLE_PORT)")
# Playbook targets (applicable order)
-.PHONY: users
-users:
- $(BIN)/ansible-playbook -e @vault.yaml -e "ansible_user=$(or $(ANSIBLE_USER),ansible)" playbooks/users.yaml
+.PHONY: bootstrap
+bootstrap:
+ $(BIN)/ansible-playbook -e @vault.yaml -e "ansible_user=$(or $(ANSIBLE_USER),ansible)" $(if $(ANSIBLE_PORT),-e "ansible_port=$(ANSIBLE_PORT)") playbooks/bootstrap.yaml
.PHONY: security
security: