acme/certificate: Added support for custom reload cmd

dehydrated
Felix Stupp 5 years ago
parent 46bb166475
commit 3547927d5a
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -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 }}"

Loading…
Cancel
Save