Add recovery make targets
This commit is contained in:
parent
bbe5bfaba4
commit
1ef4b988ac
10
Makefile
10
Makefile
@ -59,8 +59,16 @@ bootstrap-values: $(VENV) ansible_galaxy
|
|||||||
-e "@vault-keys.json" \
|
-e "@vault-keys.json" \
|
||||||
./ansible_playbooks/bootstrap-values.yml
|
./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
|
.PHONY: unseal-vault
|
||||||
unseal-vault: $(VENV) ansible_galaxy
|
unseal-vault: $(VENV)
|
||||||
env VIRTUAL_ENV=$(VENV) $(VENV)/bin/ansible-playbook -K -vv \
|
env VIRTUAL_ENV=$(VENV) $(VENV)/bin/ansible-playbook -K -vv \
|
||||||
-e "@vault-keys.json" \
|
-e "@vault-keys.json" \
|
||||||
./ansible_playbooks/unseal-vault.yml
|
./ansible_playbooks/unseal-vault.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user