add base dev

This commit is contained in:
vincent 2023-10-29 15:35:30 +01:00
parent ef927ee761
commit 439611990e
2 changed files with 12 additions and 0 deletions

View File

@ -8,6 +8,13 @@ deploy_production: generate-token
deploy_staging: generate-token
ansible-playbook site.yml -i staging -u ansible
deploy_staging_base: generate-token
ansible-playbook playbooks/sssd.yml -i staging -u ansible
ansible-playbook playbooks/wireguard.yml -i staging -u ansible
ansible-playbook playbooks/server.yml -i staging -u ansible
generate-token:
export VAULT_TOKEN=`vault token create -policy=ansible -field="token" -period 6h`

View File

@ -14,6 +14,11 @@ create-dev:
vagrant up
make -C ansible deploy_staging
create-dev-base:
vagrant up
make -C ansible deploy_staging_base
destroy-dev:
vagrant destroy --force