summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-12-16 00:37:33 +0100
committerChristian Pointner <equinox@spreadspace.org>2018-12-17 13:20:49 +0100
commit1fd38a144c2359897da42f56aca705255b116e41 (patch)
tree71b8590aae62cccffedddb83194e47e5c4f79700
parentimproved elevate banner (diff)
added host playbook for altas
-rw-r--r--chaos-at-home/atlas.yml7
-rw-r--r--inventory/group_vars/chaos-at-home/main.yml5
2 files changed, 12 insertions, 0 deletions
diff --git a/chaos-at-home/atlas.yml b/chaos-at-home/atlas.yml
new file mode 100644
index 00000000..aad91ff0
--- /dev/null
+++ b/chaos-at-home/atlas.yml
@@ -0,0 +1,7 @@
+---
+- name: Basic Setup
+ hosts: atlas
+ roles:
+ - role: sshd
+ - role: zsh
+ - role: vm/host
diff --git a/inventory/group_vars/chaos-at-home/main.yml b/inventory/group_vars/chaos-at-home/main.yml
index 7e5cbe2e..8b9ff936 100644
--- a/inventory/group_vars/chaos-at-home/main.yml
+++ b/inventory/group_vars/chaos-at-home/main.yml
@@ -1,2 +1,7 @@
---
zsh_banner: chaos-at-home
+
+admin_user_host:
+- "{{ equinox_user }}"
+
+ssh_allowusers_host: "{{ admin_user_host | map(attribute='name') | list }}"