--- - 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