ansible/roles/music/tasks/main.yaml

34 lines
625 B
YAML

---
- name: Import mpd
ansible.builtin.import_tasks:
file: mpd.yaml
tags:
- music_mpd
- name: Import trollibox
ansible.builtin.import_tasks:
file: trollibox.yaml
tags:
- music_trollibox
- name: Librespot
ansible.builtin.import_tasks:
file: librespot.yaml
tags:
- music_librespot
- name: Soundboard
ansible.builtin.import_tasks:
file: soundboard.yaml
tags:
- music_soundboard
- 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