From 1fd38a144c2359897da42f56aca705255b116e41 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 16 Dec 2018 00:37:33 +0100 Subject: added host playbook for altas --- chaos-at-home/atlas.yml | 7 +++++++ inventory/group_vars/chaos-at-home/main.yml | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 chaos-at-home/atlas.yml 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 }}" -- cgit v1.2.3