summaryrefslogtreecommitdiff
path: root/chaos-at-home
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-09-18 21:16:08 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-09-18 21:16:08 +0200
commit1f87e8f5d08c96de2f0e57452d4837be67595e80 (patch)
tree5630ed55babc04c8d9bd6925e8813bf5a0aaffef /chaos-at-home
parentkodi/standalone: systemd-user-sessions is not necessary (diff)
add simple kodi config role
Diffstat (limited to 'chaos-at-home')
-rw-r--r--chaos-at-home/ch-cm4-test.yml9
-rw-r--r--chaos-at-home/ch-mcbr.yml13
2 files changed, 2 insertions, 20 deletions
diff --git a/chaos-at-home/ch-cm4-test.yml b/chaos-at-home/ch-cm4-test.yml
index 2726fc07..599fe561 100644
--- a/chaos-at-home/ch-cm4-test.yml
+++ b/chaos-at-home/ch-cm4-test.yml
@@ -12,11 +12,4 @@
hosts: ch-cm4-test
roles:
- role: kodi/standalone
- post_tasks:
- - 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
+ - role: kodi/config
diff --git a/chaos-at-home/ch-mcbr.yml b/chaos-at-home/ch-mcbr.yml
index e2227b41..3fa66eef 100644
--- a/chaos-at-home/ch-mcbr.yml
+++ b/chaos-at-home/ch-mcbr.yml
@@ -13,15 +13,4 @@
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
+ - role: kodi/config