summaryrefslogtreecommitdiff
path: root/host_vars
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-12-16 18:27:38 +0100
committerChristian Pointner <equinox@spreadspace.org>2017-12-16 18:27:38 +0100
commit8e366699a69045664758f7496b7a145bee33e0b7 (patch)
tree2daa8c94e0c697b0d27ce9d6604c12c8a97187ce /host_vars
parentkubernetes base for dione and helene (diff)
added admin-user role
Diffstat (limited to 'host_vars')
-rw-r--r--host_vars/dione.yaml6
-rw-r--r--host_vars/helene.yaml6
2 files changed, 8 insertions, 4 deletions
diff --git a/host_vars/dione.yaml b/host_vars/dione.yaml
index b8982921..7b6e8265 100644
--- a/host_vars/dione.yaml
+++ b/host_vars/dione.yaml
@@ -1,6 +1,8 @@
---
-sshserver_allowusers_host:
-- equinox
+admin_user_host:
+- "{{ equinox_user }}"
+
+sshserver_allowusers_host: "{{ admin_user_host | map(attribute='name') | list }}"
docker_lvm:
vg: dione
diff --git a/host_vars/helene.yaml b/host_vars/helene.yaml
index f9a5a373..8726164e 100644
--- a/host_vars/helene.yaml
+++ b/host_vars/helene.yaml
@@ -1,6 +1,8 @@
---
-sshserver_allowusers_host:
-- equinox
+admin_user_host:
+- "{{ equinox_user }}"
+
+sshserver_allowusers_host: "{{ admin_user_host | map(attribute='name') | list }}"
docker_lvm:
vg: helene