fixed path to cert

This commit is contained in:
Alexander Gabriel 2021-06-06 19:28:20 +01:00
parent 6c24878a64
commit fb4136e15a

View File

@ -157,7 +157,7 @@
- name: get certificates
command: /root/.acme.sh/acme.sh --issue --apache {{ acmeshserver }} -d {{ inventory_hostname }} --email {{ acme_sh_email }} --key-file /etc/ssl/private/{{ inventory_hostname }}.key --fullchain-file /etc/ssl/certs/{{ inventory_hostname }}.pem --reloadcmd "service apache2 reload"
args:
creates: /etc/ssl/private/sso.speedport.ip.key
creates: /etc/ssl/private/{{ inventory_hostname }}.key
- name: generate /etc/apache2/sites-available/{{ inventory_hostname }}.conf
template: