homelab/makefile
vincent af9309621c
Some checks failed
continuous-integration/drone/push Build is failing
modify makefile
2022-11-21 22:59:26 +01:00

21 lines
476 B
Makefile

nomad-dev:
@read -p 'enter your vault token:' VAULT_TOKEN;\
nomad agent -dev -bind 0.0.0.0 -dc homelab -vault-address "http://active.vault.service.consul:8200" -vault-create-from-role "nomad-cluster" -vault-enabled -vault-token $$VAULT_TOKEN
vault-dev:
if [ -z "$(FILE)"]; then \
./vault/standalone_vault.sh; \
else \
./vault/standalone_vault.sh $(FILE);\
fi
create-dev:
make -C ansible create-dev
destroy-dev:
make -C ansible destroy-dev
serve:
mkdocs serve