diff options
Diffstat (limited to 'roles/acme/tasks')
-rw-r--r-- | roles/acme/tasks/main.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/roles/acme/tasks/main.yml b/roles/acme/tasks/main.yml index aad4342..5834cb5 100644 --- a/roles/acme/tasks/main.yml +++ b/roles/acme/tasks/main.yml @@ -6,11 +6,13 @@ group: 0 mode: 0644 -- name: retrieve enabled domains - shell: grep "^domain" /etc/acme-client.conf | cut -d " " -f 2 +- name: retrieve enabled domains # noqa: no-changed-when + shell: | + set -o pipefail + grep "^domain" /etc/acme-client.conf | cut -d " " -f 2 register: subdomains -- name: generate acme certificates +- name: generate acme certificates # noqa: no-changed-when command: acme-client -v {{ item }} loop: "{{ subdomains.stdout_lines }}" register: result |