Prompt for password for cluster deployment and recovery

This commit is contained in:
IamTheFij 2023-02-14 16:29:04 -08:00
parent 061c375652
commit bac0b28f68

View File

@ -49,7 +49,7 @@ ansible_galaxy/roles: $(VENV) ./ansible_galaxy/requirements.yml
.PHONY: ansible-cluster
ansible-cluster: $(VENV) ansible_galaxy
env VIRTUAL_ENV=$(VENV) $(VENV)/bin/ansible-playbook -vv \
env VIRTUAL_ENV=$(VENV) $(VENV)/bin/ansible-playbook -K -vv \
$(shell test -f vault-keys.json && echo '-e "@vault-keys.json"') \
./ansible_playbooks/setup-cluster.yml
@ -61,11 +61,11 @@ bootstrap-values: $(VENV) ansible_galaxy
.PHONY: recover-consul
recover-consul: $(VENV)
$(VENV)/bin/ansible-playbook ./ansible_playbooks/recover-consul.yaml
$(VENV)/bin/ansible-playbook -K ./ansible_playbooks/recover-consul.yaml
.PHONY: recover-nomad
recover-nomad: $(VENV)
$(VENV)/bin/ansible-playbook ./ansible_playbooks/recover-nomad.yaml
$(VENV)/bin/ansible-playbook -K ./ansible_playbooks/recover-nomad.yaml
.PHONY: unseal-vault
unseal-vault: $(VENV)