Files
aurbis/tasks/nightingale.yml
T
2026-07-19 17:33:14 +02:00

30 lines
760 B
YAML

- name: Create nightingale directory
file:
path: /opt/nightingale
state: directory
owner: root
group: aurbis
mode: "0775"
# Song library. Read-only for nightingale.
# Keep this in sync with the /karaoke mount in nextcloud
# TODO: Maybe make this a configurable non-dependency
- name: Create nightingale songs dir (writable by nextcloud's www-data)
file:
path: /opt/nightingale/songs
state: directory
owner: root
group: www-data
mode: "02775"
- name: Template nightingale compose
template:
src: nightingale/docker-compose.yml.j2
dest: /opt/nightingale/docker-compose.yml
group: aurbis
mode: "0664"
- name: Start nightingale
community.docker.docker_compose_v2:
project_src: /opt/nightingale