fix: use bash instead of sh

This commit is contained in:
VC
2024-07-05 11:53:34 +02:00
parent 04ccbb96b6
commit cc4e6ee275

View File

@@ -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