From 21bc984ccd162144e1116460db58e05faf7547e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Mon, 23 May 2022 16:38:56 +0200 Subject: [PATCH] build: Deploy avalon playbook References: https://todo.xenrox.net/~xenrox/infrastructure/7 --- .build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.build.yml b/.build.yml index 21efddb..f637ed6 100644 --- a/.build.yml +++ b/.build.yml @@ -2,8 +2,12 @@ image: archlinux packages: - ansible - ansible-lint + - python-hvac - terraform - yamllint +secrets: + - 1bdb2e5e-045c-43d0-ba8b-997c25f31a43 + - 333ce0ce-fd54-492d-a8b2-508d7deaa8f0 sources: - https://git.xenrox.net/~xenrox/ansible environment: @@ -26,3 +30,9 @@ tasks: cd ../terraform_keycloak terraform init -backend=false terraform validate + - deploy: | + set +x + . ~/.vault-secret + set -x + cd ansible + ansible-playbook playbooks/avalon.yml -- 2.44.0