proxmox-backup: set domain for ACME
This commit is contained in:
parent
11a5ec85b3
commit
add84ba1d2
|
@ -82,5 +82,10 @@
|
|||
enabled: no
|
||||
notify: reboot
|
||||
|
||||
- name: Set domain for ACME certificate renewals
|
||||
command:
|
||||
cmd: 'proxmox-backup-manager node update --acmedomain0 domain={{ interfaces | selectattr("name", "==", "lo")
|
||||
| map(attribute="ip_addresses") | flatten | map(attribute="dns_name") | first }}'
|
||||
changed_when: false # maybe write a proper check if certificate requests are ever ansibled
|
||||
|
||||
- include_tasks: firewall.yml
|
||||
|
|
Loading…
Reference in a new issue