mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 21:57:00 +01:00
9 lines
212 B
Bash
Executable file
9 lines
212 B
Bash
Executable file
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
export HCLOUD_TOKEN=$(./get_hcloud_token.sh)
|
|
ENVIRONMENT=$(cat .environment)
|
|
source .virtualenv/bin/activate
|
|
|
|
ansible-playbook -i inventories/$ENVIRONMENT --vault-id=~/.ssh/vault-pass "$@"
|