From b5286cb6cb39e7214d18cceaea172abb545f964f Mon Sep 17 00:00:00 2001
From: Alexander Dahl <alex@netz39.de>
Date: Sat, 8 Jan 2022 13:59:55 +0100
Subject: [PATCH] Add new virtual machine host 'unicorn'

Required for running unify controller, which is itself required for
configuring our WiFi access points.

Precedes: #16
---
 README.md   |  1 +
 inventory   |  2 ++
 main.yml    |  3 +++
 unicorn.yml | 11 +++++++++++
 4 files changed, 17 insertions(+)
 create mode 100644 unicorn.yml

diff --git a/README.md b/README.md
index b5d0b6a..58628ef 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,7 @@
 Currently including the following hosts:
 * tau.netz39.de
 * pottwal.n39.eu
+* unicorn.n39.eu
 
 ## Setup
 ```bash
diff --git a/inventory b/inventory
index 69d1155..61c697a 100644
--- a/inventory
+++ b/inventory
@@ -77,3 +77,5 @@ all:
         3665386538393066380a383366346235343531306561643534663035646537666534383536333230
         34613761363237633865306332653631323366343232353666343165666664343838
 
+    unicorn.n39.eu:
+      server_admin: "admin+unicorn@netz39.de"
diff --git a/main.yml b/main.yml
index 00d43b0..c725c75 100644
--- a/main.yml
+++ b/main.yml
@@ -39,3 +39,6 @@
 
 - name: Pottwal specific setup
   import_playbook: pottwal.yml
+
+- name: Specific setup for host unicorn
+  import_playbook: unicorn.yml
diff --git a/unicorn.yml b/unicorn.yml
new file mode 100644
index 0000000..5d94c81
--- /dev/null
+++ b/unicorn.yml
@@ -0,0 +1,11 @@
+---
+- hosts: unicorn.n39.eu
+  become: true
+
+  vars:
+    ansible_python_interpreter: /usr/bin/python3
+
+  roles:
+    - role: docker_setup
+      vars:
+        docker_data_root: "/srv/docker"