Linter + Dashboard fixes
This commit is contained in:
parent
e1bf3e1765
commit
abc64144a8
44 changed files with 265 additions and 379 deletions
|
@ -11,8 +11,8 @@
|
|||
dest: /opt/librespot
|
||||
accept_hostkey: yes
|
||||
notify:
|
||||
- rebuild librespot
|
||||
- restart librespot
|
||||
- Rebuild librespot
|
||||
- Restart librespot
|
||||
|
||||
- name: Install service file
|
||||
ansible.builtin.template:
|
||||
|
@ -21,7 +21,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart librespot
|
||||
notify: Restart librespot
|
||||
|
||||
- name: Enable Librespot
|
||||
ansible.builtin.systemd:
|
||||
|
|
|
@ -1,28 +1,34 @@
|
|||
---
|
||||
- tags: music_mpd
|
||||
|
||||
- name: Import mpd
|
||||
ansible.builtin.import_tasks:
|
||||
file: mpd.yaml
|
||||
tags:
|
||||
- music_mpd
|
||||
|
||||
- tags: music_trollibox
|
||||
- name: Import trollibox
|
||||
ansible.builtin.import_tasks:
|
||||
file: trollibox.yaml
|
||||
tags:
|
||||
- music_trollibox
|
||||
|
||||
- tags: music_librespot
|
||||
- name: Librespot
|
||||
ansible.builtin.import_tasks:
|
||||
file: librespot.yaml
|
||||
tags:
|
||||
- music_librespot
|
||||
|
||||
- tags: music_soundboard
|
||||
- name: Soundboard
|
||||
ansible.builtin.import_tasks:
|
||||
file: soundboard.yaml
|
||||
tags:
|
||||
- music_soundboard
|
||||
|
||||
- tags: music
|
||||
block:
|
||||
|
||||
- name: Install nginx config
|
||||
ansible.builtin.template:
|
||||
src: nginx-site.conf
|
||||
dest: /etc/nginx/sites-enabled/trollibox
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: reload nginx
|
||||
- name: Install nginx config
|
||||
ansible.builtin.template:
|
||||
src: nginx-site.conf
|
||||
dest: /etc/nginx/sites-enabled/trollibox
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: Reload nginx
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
|
||||
- name: Install MPD
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
|
@ -15,7 +16,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart mpd-volume-to-mqtt
|
||||
notify: Restart mpd-volume-to-mqtt
|
||||
|
||||
- name: Install mpd-volume-to-mqtt service
|
||||
ansible.builtin.template:
|
||||
|
@ -24,7 +25,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart mpd-volume-to-mqtt
|
||||
notify: Restart mpd-volume-to-mqtt
|
||||
|
||||
- name: Enable mpd-volume-to-mqtt
|
||||
ansible.builtin.systemd:
|
||||
|
@ -39,7 +40,7 @@
|
|||
version: master
|
||||
dest: /opt/skipbutton
|
||||
accept_hostkey: yes
|
||||
notify: restart skipbutton
|
||||
notify: Restart skipbutton
|
||||
|
||||
- name: Install skipbutton service
|
||||
ansible.builtin.template:
|
||||
|
@ -48,7 +49,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart skipbutton
|
||||
notify: Restart skipbutton
|
||||
|
||||
- name: Enable skipbutton
|
||||
ansible.builtin.systemd:
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
version: main
|
||||
dest: /opt/soundboard
|
||||
accept_hostkey: yes
|
||||
notify: restart soundboard
|
||||
notify: Restart soundboard
|
||||
|
||||
- name: Create virtualenv
|
||||
ansible.builtin.command:
|
||||
|
@ -31,7 +31,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart soundboard
|
||||
notify: Restart soundboard
|
||||
|
||||
- name: Install soundboard service file
|
||||
ansible.builtin.template:
|
||||
|
@ -40,7 +40,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart soundboard
|
||||
notify: Restart soundboard
|
||||
|
||||
- name: Enable soundboard
|
||||
ansible.builtin.systemd:
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
dest: /etc/trollibox.yaml
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart trollibox
|
||||
mode: "0644"
|
||||
notify: Restart trollibox
|
||||
|
||||
- name: Get latest Trollibox version from Github API
|
||||
ansible.builtin.get_url:
|
||||
|
@ -25,8 +25,8 @@
|
|||
remote_src: yes
|
||||
dest: /usr/local/bin
|
||||
include: [ trollibox ]
|
||||
mode: 0755
|
||||
notify: restart trollibox
|
||||
mode: "0755"
|
||||
notify: Restart trollibox
|
||||
|
||||
- name: Install service file
|
||||
ansible.builtin.template:
|
||||
|
@ -34,8 +34,8 @@
|
|||
dest: /etc/systemd/system/trollibox.service
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart trollibox
|
||||
mode: "0644"
|
||||
notify: Restart trollibox
|
||||
|
||||
- name: Enable Trollibox
|
||||
ansible.builtin.systemd:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue