Anpassungen für Alias-Domains

This commit is contained in:
phil 2021-10-14 16:09:47 +02:00
parent 118e5bc42f
commit c611852b77
9 changed files with 28 additions and 15 deletions

View file

@ -11,10 +11,11 @@
lineinfile:
path: /etc/dehydrated/domains.txt
insertafter: "^# nextcloud"
line: "{{ instance.alias }}"
line: "{{ item }}"
when: instance.alias is defined
register: dehydrated
delegate_to: "{{ gateway_host }}"
loop: "{{ instance.alias }}"
- name: "gateway: {{ instance.domain }}: Zertifikat erstellen"
command: dehydrated --cron -g