Various changes that I am not going to write a description for
This commit is contained in:
parent
b903b1b201
commit
a8f593d9b7
14 changed files with 187 additions and 26 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue