diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-03-07 23:39:39 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-03-07 23:39:39 +0100 |
commit | bdc31cb021b36e5d3023d8892523a3ec3a1647dd (patch) | |
tree | 501589e643166d7518b1707d318360fb95708869 /chaos-at-home | |
parent | upgrade nextcloud database images (diff) |
add host ch-mc
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 |