Files
dotfiles/config/ansible/tasks/servers/services/services.yml
Menno van Leeuwen 10508b9916
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 32s
Nix Format Check / check-format (push) Failing after 1m24s
Python Lint Check / check-python (push) Failing after 19s
updated nix to 25.05 and fixed setup.sh
Signed-off-by: Menno van Leeuwen <menno@vleeuwen.me>
2025-07-11 00:17:52 +00:00

14 lines
385 B
YAML

---
- name: Include service cleanup tasks
ansible.builtin.include_tasks: service_cleanup.yml
- name: Include service tasks
ansible.builtin.include_tasks: "{{ item.name }}/{{ item.name }}.yml"
loop: "{{ services }}"
when: item.enabled|bool and (inventory_hostname in item.hosts)
loop_control:
label: "{{ item.name }}"
tags:
- "{{ item.name }}"
- services