summaryrefslogtreecommitdiff
path: root/chaos-at-home/ch-mcbr.yml
blob: e2227b41adf403d546c8cf8fd1826185820c2552 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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