ansible/roles/music/tasks/main.yaml

28 lines
575 B
YAML

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