feat: refactor service management to use a unified services list and add cleanup tasks
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 15s
Nix Format Check / check-format (push) Successful in 55s
Python Lint Check / check-python (push) Failing after 12s

This commit is contained in:
2025-03-12 14:31:25 +01:00
parent 451f2b202f
commit 8d2cbdacae
3 changed files with 53 additions and 20 deletions

View File

@@ -23,11 +23,17 @@
- name: Include services tasks
ansible.builtin.include_tasks: services/services.yml
vars:
caddy_enabled: true
hoarder_enabled: true
golink_enabled: true
immich_enabled: true
gitea_enabled: true
services:
- name: caddy
enabled: true
- name: hoarder
enabled: true
- name: golink
enabled: true
- name: immich
enabled: true
- name: gitea
enabled: true
when:
- ansible_hostname == "mennos-server" or ansible_hostname == "dotfiles-test" or ansible_hostname == "mennos-cloud-server"
- datapool_check is defined