Improve lego service to be more dynamic
This commit is contained in:
parent
fa2059bb32
commit
be3c610bd4
14 changed files with 64 additions and 46 deletions
roles/lego/vars
|
@ -1,4 +1,6 @@
|
|||
---
|
||||
lego_host_certificates: "{{ all_services | my_service_attributes(inventory_hostname, 'certificates') }}"
|
||||
|
||||
lego_svc:
|
||||
name: lego
|
||||
|
||||
|
@ -10,7 +12,6 @@ lego_env:
|
|||
LEGO_PATH: /data
|
||||
|
||||
CERTIFICATES_PATH: "{{ certificates_path }}"
|
||||
WIUWIU_TOKEN: "{{ vault_wiuwiu_token }}"
|
||||
|
||||
lego_compose:
|
||||
watchtower: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue