From bdc31cb021b36e5d3023d8892523a3ec3a1647dd Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 7 Mar 2021 23:39:39 +0100 Subject: add host ch-mc --- chaos-at-home/ch-equinox-ws.yml | 8 ++++++++ chaos-at-home/ch-mc.yml | 21 +++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 chaos-at-home/ch-mc.yml (limited to 'chaos-at-home') diff --git a/chaos-at-home/ch-equinox-ws.yml b/chaos-at-home/ch-equinox-ws.yml index 5f92a171..74410228 100644 --- a/chaos-at-home/ch-equinox-ws.yml +++ b/chaos-at-home/ch-equinox-ws.yml @@ -25,3 +25,11 @@ path: /etc/default/keyboard regexp: '#?\s*XKBOPTIONS=' line: 'XKBOPTIONS="caps:none"' + + - name: mount fileserver volumes + mount: + src: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets['ch-prometheus']) | ipaddr('address') }}:/" + path: /srv/files + fstype: nfs4 + opts: nodev,x-systemd.automount,nofail + state: mounted diff --git a/chaos-at-home/ch-mc.yml b/chaos-at-home/ch-mc.yml new file mode 100644 index 00000000..6f683d93 --- /dev/null +++ b/chaos-at-home/ch-mc.yml @@ -0,0 +1,21 @@ +--- +- name: Basic Setup + hosts: ch-mc + roles: + - role: apt-repo/base + - role: core/base + - role: core/sshd + - role: core/zsh + - role: core/cpu-microcode + - role: network/wakeonlan + - role: apt-repo/kodi + - role: ws/base + - role: ws/users + post_tasks: + - name: mount fileserver volumes + mount: + src: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets['ch-prometheus']) | ipaddr('address') }}:/" + path: /srv/files + fstype: nfs4 + opts: nodev,x-systemd.automount,nofail,ro + state: mounted -- cgit v1.2.3