Refactor all_services to remove name attribute
This commit is contained in:
parent
6f9f888478
commit
1d14ac888e
16 changed files with 42 additions and 71 deletions
playbooks/roles/lego/vars
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
lego_host_certificates: "{{ host_services | map(attribute='certificates') | flatten }}"
|
||||
lego_host_certificates: "{{ host_services | services_get_attr('certificates') | flatten }}"
|
||||
|
||||
lego_env:
|
||||
ACME_DNS_API_BASE: https://{{ acme_dns.host }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue