From 9b9ddf415eac7084067cd701624185eb36e5723d Mon Sep 17 00:00:00 2001
From: Sven-Hendrik Haase <svenstaro@gmail.com>
Date: Sun, 24 Mar 2019 23:52:35 +0100
Subject: [PATCH] Add note about needing git packages

I realize this is less than ideal but I think we can accept it for the short time until the required releases are stable
---
 README.md              | 5 +++++
 terraform/archlinux.tf | 4 ++++
 2 files changed, 9 insertions(+)

diff --git a/README.md b/README.md
index cd2d78ab8..f9a420a6b 100644
--- a/README.md
+++ b/README.md
@@ -5,6 +5,11 @@ This repository contains the complete collection of ansible playbooks and roles
 It also contains git submodules so you have to run `git submodule update --init
 --recursive` after cloning or some tasks will fail to run.
 
+## Requirements
+
+For the time being, to run all of this you'll need terraform-git because of the pg backend and ansible-git because of the dynamic hcloud provider module.
+This is temporary and the next releases of these packages will contain the modules in a stable version.
+
 #### Instructions
 All systems are set up the same way. For the first time setup in the Hetzner rescue system,
 run the provisioning script: `ansible-playbook playbooks/tasks/install-arch.yml -l $host`.
diff --git a/terraform/archlinux.tf b/terraform/archlinux.tf
index eede0abed..d5ca3ede3 100644
--- a/terraform/archlinux.tf
+++ b/terraform/archlinux.tf
@@ -1,3 +1,7 @@
+terraform {
+  backend "pg" {}
+}
+
 variable "hetzner_cloud_api_key" {}
 
 # Find the id using `hcloud image list`
-- 
GitLab