diff options
Diffstat (limited to 'chaos-at-home')
-rw-r--r-- | chaos-at-home/ch-cm4-test.yml | 15 | ||||
-rw-r--r-- | chaos-at-home/ch-mc.yml | 11 |
2 files changed, 16 insertions, 10 deletions
diff --git a/chaos-at-home/ch-cm4-test.yml b/chaos-at-home/ch-cm4-test.yml index 467c0baf..2726fc07 100644 --- a/chaos-at-home/ch-cm4-test.yml +++ b/chaos-at-home/ch-cm4-test.yml @@ -7,6 +7,11 @@ - role: core/sshd/base - role: core/zsh - role: core/ntp + +- name: Payload Setup + hosts: ch-cm4-test + roles: + - role: kodi/standalone post_tasks: - name: mount fileserver volumes mount: @@ -15,13 +20,3 @@ fstype: nfs4 opts: nodev,x-systemd.automount,nofail,ro state: mounted -#### -## $ apt install kodi libgl1-mesa-dri udisks2 -## $ apt install git make -## $ git clone --depth 1 https://github.com/graysky2/kodi-standalone-service -## $ cd kodi-standalone-service -## $ make install -## $ systemd-sysusers -## $ systemd-tmpfiles --create -## $ systemctl enable kodi.service -## $ systemctl set-default graphical.target diff --git a/chaos-at-home/ch-mc.yml b/chaos-at-home/ch-mc.yml index a9cb9707..8ded2b5a 100644 --- a/chaos-at-home/ch-mc.yml +++ b/chaos-at-home/ch-mc.yml @@ -7,11 +7,22 @@ - role: core/sshd/base - role: core/zsh - role: core/cpu-microcode + +- name: Payload Setup + hosts: ch-mc + roles: - role: network/wakeonlan + # - role: apt-repo/backports + # - role: kodi/standalone - role: apt-repo/kodi - role: ws/base - role: ws/users post_tasks: + - name: install nfs client packages + apt: + name: nfs-common + state: present + - name: mount fileserver volumes mount: src: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets['ch-prometheus']) | ansible.utils.ipaddr('address') }}:/" |