From d77a2af7acee55457f4cab5f3acc8e3060564196 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 20 Jan 2021 10:29:19 +0100 Subject: Minio + wal-g --- ansible/inventory-terraform | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 ansible/inventory-terraform (limited to 'ansible/inventory-terraform') diff --git a/ansible/inventory-terraform b/ansible/inventory-terraform new file mode 100755 index 0000000..6eeba30 --- /dev/null +++ b/ansible/inventory-terraform @@ -0,0 +1,8 @@ +#!/bin/bash + +set -euo pipefail + +basedir=$(dirname $0) + +(cd "$basedir/../terraform" && terraform output -json) |\ + "$basedir/env/bin/python" "$basedir/terraform-to-ansible-inventory.py" -- cgit v1.2.3