Remove explicit svc.name

This commit is contained in:
Tobias Reisinger 2024-10-13 21:48:04 +02:00
parent 09e886c712
commit dbb3075c82
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
67 changed files with 36 additions and 87 deletions
roles/lego

View file

@ -2,9 +2,8 @@
- name: Set common facts
ansible.builtin.import_tasks: tasks/set-default-facts.yml
- name: Deploy {{ svc.name }}
- name: Deploy {{ role_name }}
vars:
svc: "{{ lego_svc }}"
env: "{{ lego_env }}"
json: "{{ vault_acmedns_registered | acmedns_to_lego }}"
compose: "{{ lego_compose }}"

View file

@ -1,9 +1,6 @@
---
lego_host_certificates: "{{ all_services | my_service_attributes(inventory_hostname, 'certificates') }}"
lego_svc:
name: lego
lego_env:
ACME_DNS_API_BASE: https://{{ acme_dns.host }}
ACME_DNS_STORAGE_PATH: /config/acme-dns-accounts.json