diff options
Diffstat (limited to 'chaos-at-home')
-rw-r--r-- | chaos-at-home/ch-mcbr.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/chaos-at-home/ch-mcbr.yml b/chaos-at-home/ch-mcbr.yml new file mode 100644 index 00000000..e2227b41 --- /dev/null +++ b/chaos-at-home/ch-mcbr.yml @@ -0,0 +1,27 @@ +--- +- name: Basic Setup + hosts: ch-mcbr + roles: + - role: apt-repo/base + - role: core/base + - role: core/sshd/base + - role: core/zsh + - role: core/ntp + - role: core/cpu-microcode + +- name: Payload Setup + hosts: ch-mcbr + roles: + - role: kodi/standalone + ## TODO: + ## - https://kodi.wiki/view/Kore_Manual + ## - https://kodi.wiki/view/MySQL/Setting_up_Kodi (need to wait for NFSv4 support ...) + post_tasks: + ## Kodi only supports NFSv3, however it will probably work with Kodi 20+ (https://github.com/xbmc/xbmc/pull/21659) + - name: mount fileserver volumes + mount: + src: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets['ch-prometheus']) | ansible.utils.ipaddr('address') }}:/" + path: /srv/files + fstype: nfs4 + opts: nodev,x-systemd.automount,nofail,ro + state: mounted |