service: Make secrets available in a variable

This commit is contained in:
uumas
2025-03-22 01:42:03 +02:00
parent d5cd823e5a
commit 2528e2605c
3 changed files with 34 additions and 1 deletions

View File

@@ -11,6 +11,10 @@
ansible.builtin.include_tasks: database.yaml
when: "service_database_type != 'none'"
- name: Secrets for {{ service_name }}
ansible.builtin.include_tasks: secrets.yaml
when: service_container_secrets | length > 0
- name: Mounts for {{ service_name }}
ansible.builtin.include_tasks: mounts.yaml
when: service_container_mounts | length > 0