diff --git a/states/acme/init.sls b/states/acme/init.sls index 723de46..c4beaba 100644 --- a/states/acme/init.sls +++ b/states/acme/init.sls @@ -34,7 +34,7 @@ acme-dh-params: acme-certs: cmd.run: - - name: /root/.acme.sh/acme.sh --issue {%- for dom in acme.domains %} -d '{{ dom }}' {% endfor -%} --dns dns_ovh --cert-file '' --key-file '{{ acme.keyfile }}' --fullchain-file '{{ acme.fullchainfile }}' -k {{ acme.keysize }} + - name: /root/.acme.sh/acme.sh --debug --issue {%- for dom in acme.domains %} -d '{{ dom }}' {% endfor -%} --dns dns_ovh --cert-file '' --key-file '{{ acme.keyfile }}' --fullchain-file '{{ acme.fullchainfile }}' -k {{ acme.keysize }} - env: - OVH_AK: '{{ acme.provider.api.application_key }}' - OVH_AS: '{{ acme.provider.api.application_secret }}' @@ -47,4 +47,4 @@ acme-certs: - runas: root - cwd: /root - require: - - cmd: acme-install \ No newline at end of file + - cmd: acme-install