Various changes that I am not going to write a description for

This commit is contained in:
polyfloyd 2022-10-05 21:21:30 +02:00
parent b903b1b201
commit a8f593d9b7
14 changed files with 187 additions and 26 deletions

View file

@ -7,3 +7,18 @@
- tags: music_librespot
import_tasks: librespot.yaml
- tags: music
block:
- name: Install nginx
apt:
name: nginx
- name: Install nginx config
template:
src: nginx-site.conf
dest: /etc/nginx/sites-enabled/trollibox
owner: root
group: root
mode: 0644
notify: reload nginx

View file

@ -1,4 +1,13 @@
---
- name: Install Trollibox config
template:
src: trollibox.yaml
dest: /etc/trollibox.yaml
owner: root
group: root
mode: 0644
notify: restart trollibox
- name: Get latest Trollibox version from Github API
get_url:
url: "https://api.github.com/repos/polyfloyd/trollibox/releases/latest"