From 737cb4539ba4e50c1fa13a1472f3ec4d3878ee0b Mon Sep 17 00:00:00 2001 From: Tilmann Sager Date: Sat, 20 Mar 2021 22:52:09 +0100 Subject: [PATCH] Reformatted // Renamed nginx configs // Added nextcloud handler for db check // Added tags --- tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 2cf205d..87f2f61 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -16,7 +16,7 @@ get_url: url: https://get.acme.sh dest: /tmp/acme.sh - mode: '0700' + mode: "0700" when: not is_acme_sh_installed.stat.exists - name: Install acme.sh @@ -36,9 +36,9 @@ - name: Issue certificates become: yes command: - cmd: ./acme.sh --issue -d {{ item.name }} -d '*.{{ item.name }}' --dns dns_{{ item.dns_provider }} + cmd: ./acme.sh --issue -d {{ item.name }} -d '*.{{ item.name }}' --dns dns_{{ item.dns_provider }} chdir: ~/.acme.sh - environment: + environment: INWX_User: gkrause INWX_Password: "{{ inwx_pass }}" INWX_Shared_Secret: "{{ inwx_shared }}" @@ -46,7 +46,7 @@ loop: "{{ domains }}" register: cert_result changed_when: cert_result.rc == 0 and "Cert success." in cert_result.stdout - failed_when: + failed_when: - "'Domains not changed' not in cert_result.stdout" - "'Cert success.' not in cert_result.stdout"