From 6f42a574bcb4cc2ba83b9ef2c8b7b86672421725 Mon Sep 17 00:00:00 2001
From: David Kilias <david.kilias@gmail.com>
Date: Tue, 1 Nov 2022 23:47:15 +0100
Subject: [PATCH] move tau.netz39.de vars to host_vars directory

---
 host_vars/tau.netz39.de/vars.yml | 2 ++
 host_vars/tau.netz39.de/vault    | 6 ++++++
 inventory.yml                    | 8 --------
 3 files changed, 8 insertions(+), 8 deletions(-)
 create mode 100644 host_vars/tau.netz39.de/vars.yml
 create mode 100644 host_vars/tau.netz39.de/vault

diff --git a/host_vars/tau.netz39.de/vars.yml b/host_vars/tau.netz39.de/vars.yml
new file mode 100644
index 0000000..ac0c976
--- /dev/null
+++ b/host_vars/tau.netz39.de/vars.yml
@@ -0,0 +1,2 @@
+server_admin: "admin+tau@netz39.de"
+mysql_root_pw: "{{ vault_mysql_root_pw }}"
diff --git a/host_vars/tau.netz39.de/vault b/host_vars/tau.netz39.de/vault
new file mode 100644
index 0000000..a5cbc80
--- /dev/null
+++ b/host_vars/tau.netz39.de/vault
@@ -0,0 +1,6 @@
+$ANSIBLE_VAULT;1.1;AES256
+63323761323733353533323465366663633863346437613938626633366363643765656664343832
+3361376139623139613937656438356132626338646338310a333635633630363836363038383039
+61386466653166356134393361653538643237623365663135636463363039363234623834376634
+6134636464323837620a373264346365353731666330646538316535636532363633333433633863
+39633362613134636137363537613433363738313135343534323436643236363035
diff --git a/inventory.yml b/inventory.yml
index dddefc5..1c19613 100644
--- a/inventory.yml
+++ b/inventory.yml
@@ -2,14 +2,6 @@
 all:
   hosts:
     tau.netz39.de:
-      server_admin: "admin+tau@netz39.de"
-      mysql_root_pw: !vault |
-        $ANSIBLE_VAULT;1.1;AES256
-        64313138383833643866383332623265383863623332343864306537633931326139303638303761
-        6464653933613663643632383935376164393033363233330a313063613832396166666464666136
-        36633532393231663634663034666666356332373438646130643161383134653739663066626538
-        3661663132343639310a613431653031626434323064313465373866666332353931313836623465
-        3461
     pottwal.n39.eu:
       server_admin: "admin+pottwal@netz39.de"