acme: Fixed using correct home and config-home directories

wip
Felix Stupp 5 years ago
parent 704151b6cf
commit b6e70b881a
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -22,7 +22,10 @@
- name: Upgrade acme.sh - name: Upgrade acme.sh
become_user: "{{ acme_system_user }}" become_user: "{{ acme_system_user }}"
command: ./acme.sh --upgrade command:
./acme.sh --upgrade
--home {{ acme_installation_directory | quote }}
--config-home {{ acme_configuration_directory | quote }}
args: args:
chdir: "{{ acme_installation_directory }}" chdir: "{{ acme_installation_directory }}"
register: acme_upgrade_results register: acme_upgrade_results

@ -6,6 +6,8 @@
become_user: "{{ acme_system_user }}" become_user: "{{ acme_system_user }}"
command: >- command: >-
./acme.sh --issue ./acme.sh --issue
--home {{ acme_installation_directory | quote }}
--config-home {{ acme_configuration_directory | quote }}
--domain "{{ domain | quote }}" --domain "{{ domain | quote }}"
--webroot "{{ nginx_validation_root_directory | quote }}" --webroot "{{ nginx_validation_root_directory | quote }}"
--ecc --ecc
@ -20,6 +22,8 @@
become_user: "{{ acme_system_user }}" become_user: "{{ acme_system_user }}"
command: >- command: >-
./acme.sh --install-cert ./acme.sh --install-cert
--home {{ acme_installation_directory | quote }}
--config-home {{ acme_configuration_directory | quote }}
--domain "{{ domain | quote }}" --domain "{{ domain | quote }}"
--key-file "{{ acme_key_location | quote }}" --key-file "{{ acme_key_location | quote }}"
--fullchain-file "{{ acme_certificate_location | quote }}" --fullchain-file "{{ acme_certificate_location | quote }}"

Loading…
Cancel
Save