mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Migrate to Hetzner cloud
This commit is contained in:
parent
d3c99dad0b
commit
c311cd4f7e
37 changed files with 416 additions and 299 deletions
9
ansible-playbook.sh
Executable file
9
ansible-playbook.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#! /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 "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue