Add hitparade mopidy config
Check / Lint Ansible Files (push) Successful in 3m21s

This commit is contained in:
Paul Brinkmeier
2026-09-10 21:57:19 +02:00
parent 74944410dc
commit dde2595990
4 changed files with 55 additions and 10 deletions
+13 -9
View File
@@ -44,25 +44,27 @@
- name: Upload and decrypt docker environment vars
become: true
ansible.builtin.copy:
src: "../../docker/envs/{{ item.name }}/.env"
dest: /etc/pbri/docker/{{ item.name }}/.env
src: "../../docker/envs/{{ item.path }}"
dest: "/etc/pbri/docker/{{ item.path }}"
# Files should inaccessible to non-root users.
mode: u=rw,g=,o=
# This is true by default but I put it here anyways
# to emphasize what's happening
decrypt: true
loop:
- name: gitea
- path: gitea/.env
state: present
- name: codi
- path: codi/.env
state: present
- name: vrnp
- path: vrnp/.env
state: present
- name: zomboid
- path: zomboid/.env
state: present
- name: yore
- path: yore/.env
state: present
- name: factorio
- path: factorio/.env
state: present
- path: hitparade/mopidy.conf
state: present
# This needs to be done for any services where user:
# is set in docker-compose.yaml.
@@ -131,7 +133,9 @@
state: present
- name: yore
state: present
- name: factorio
- name: hitparade
state: present
- name: factorio
state: absent
- name: zomboid
state: absent