From 1ef4b988ac85e46a649da7ee141ee75785246e72 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Sat, 7 Jan 2023 14:09:38 -0800 Subject: [PATCH] Add recovery make targets --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6618ca7..3b10ba1 100644 --- a/Makefile +++ b/Makefile @@ -59,8 +59,16 @@ bootstrap-values: $(VENV) ansible_galaxy -e "@vault-keys.json" \ ./ansible_playbooks/bootstrap-values.yml +.PHONY: recover-consul +recover-consul: $(VENV) + $(VENV)/bin/ansible-playbook ./ansible_playbooks/recover-consul.yaml + +.PHONY: recover-nomad +recover-nomad: $(VENV) + $(VENV)/bin/ansible-playbook ./ansible_playbooks/recover-nomad.yaml + .PHONY: unseal-vault -unseal-vault: $(VENV) ansible_galaxy +unseal-vault: $(VENV) env VIRTUAL_ENV=$(VENV) $(VENV)/bin/ansible-playbook -K -vv \ -e "@vault-keys.json" \ ./ansible_playbooks/unseal-vault.yml