2022-05-07 07:17:34 +00:00
|
|
|
|
2022-06-06 07:18:58 +00:00
|
|
|
nomad-dev:
|
2022-05-07 07:17:34 +00:00
|
|
|
@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
|
2022-06-06 07:18:58 +00:00
|
|
|
|
|
|
|
vault-dev:
|
|
|
|
if [ -z "$(FILE)"]; then \
|
|
|
|
./vault/standalone_vault.sh; \
|
|
|
|
else \
|
|
|
|
./vault/standalone_vault.sh $(FILE);\
|
|
|
|
fi
|
2022-10-30 17:18:58 +00:00
|
|
|
|
|
|
|
create-dev:
|
2023-08-25 08:13:29 +00:00
|
|
|
vagrant up
|
|
|
|
make -C ansible deploy_staging
|
2022-10-30 17:18:58 +00:00
|
|
|
|
|
|
|
destroy-dev:
|
2023-08-25 08:13:29 +00:00
|
|
|
vagrant destroy
|
2022-10-30 17:18:58 +00:00
|
|
|
|
2022-11-21 21:59:26 +00:00
|
|
|
serve:
|
2022-11-01 19:41:27 +00:00
|
|
|
mkdocs serve
|