diff --git a/roles/x509/tasks/main.yml b/roles/x509/tasks/main.yml index cf380de..b58e9e8 100644 --- a/roles/x509/tasks/main.yml +++ b/roles/x509/tasks/main.yml @@ -1,6 +1,9 @@ --- - name: Install acme.sh - ansible.builtin.command: - cmd: curl https://get.acme.sh | INSTALLONLINE=1 LE_WORKING_DIR=/etc/x509 sh # noqa: command-instead-of-module + ansible.builtin.shell: + cmd: | + set -o pipefail + curl https://get.acme.sh | INSTALLONLINE=1 LE_WORKING_DIR=/etc/x509 sh # noqa: command-instead-of-module + executable: /bin/bash creates: /etc/x509