fix: use bash instead of sh
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Install acme.sh
|
- name: Install acme.sh
|
||||||
ansible.builtin.command:
|
ansible.builtin.shell:
|
||||||
cmd: curl https://get.acme.sh | INSTALLONLINE=1 LE_WORKING_DIR=/etc/x509 sh # noqa: command-instead-of-module
|
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
|
creates: /etc/x509
|
||||||
|
Reference in New Issue
Block a user