diff options
Diffstat (limited to 'chaos-at-home')
-rw-r--r-- | chaos-at-home/ch-equinox-ws.yml | 8 | ||||
-rw-r--r-- | chaos-at-home/ch-mc.yml | 21 |
2 files changed, 29 insertions, 0 deletions
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 |