@ -3,3 +3,5 @@
acme_certificate_prefix: "{{ acme_certificates_directory }}/{{ domain }}"
acme_certificate_location: "{{ acme_certificate_prefix }}.crt"
acme_key_location: "{{ acme_certificate_prefix }}.key"
reload_command: "systemctl force-reload nginx"
@ -27,7 +27,7 @@
--domain "{{ domain | quote }}"
--key-file "{{ acme_key_location | quote }}"
--fullchain-file "{{ acme_certificate_location | quote }}"
--reloadcmd "systemctl force-reload nginx"
--reloadcmd "{{ reload_command }}"
args:
chdir: "{{ acme_installation_directory }}"
creates: "{{ acme_key_location }}"