Add terraform destroy to makefile
This commit is contained in:
parent
a16dc204fe
commit
0e168376b8
5
Makefile
5
Makefile
@ -92,6 +92,11 @@ refresh:
|
|||||||
@terraform refresh \
|
@terraform refresh \
|
||||||
-var "nomad_secret_id=$(shell jq -r .SecretID nomad_bootstrap.json)" \
|
-var "nomad_secret_id=$(shell jq -r .SecretID nomad_bootstrap.json)" \
|
||||||
|
|
||||||
|
.PHONY: destroy
|
||||||
|
destroy:
|
||||||
|
@terraform destroy \
|
||||||
|
-var "nomad_secret_id=$(shell jq -r .SecretID nomad_bootstrap.json)" \
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
env VIRTUAL_ENV=$(VENV) $(VENV)/bin/ansible-playbook -vv \
|
env VIRTUAL_ENV=$(VENV) $(VENV)/bin/ansible-playbook -vv \
|
||||||
|
Loading…
Reference in New Issue
Block a user