File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed
Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2323 # prints every processed file but reports only when a change is made.
2424 ansible.builtin.shell :
2525 cmd : |
26- set -e
26+ set -u # fail on unset vars
27+ set -o pipefail # fail if any pipe cmd fails
28+ set -e # exit on any error (incl. in if/while/tests)
2729
2830 # Set ownership of files and directories: service user and group
2931 find \
Original file line number Diff line number Diff line change 1919 # https://github.com/acmesh-official/acme.sh/wiki/Options-and-Params
2020 ansible.builtin.shell :
2121 cmd : |
22+ set -u # fail on unset vars
23+ set -o pipefail # fail if any pipe cmd fails
24+
2225 __run_acmesh_checksum_before="$({{ __run_acmesh_sha1sum_executable }} '{{ run_acmesh_cfg_config_home }}/account.conf')"
2326
2427 if ! ./acme.sh \
Original file line number Diff line number Diff line change 107107 # - Security concerns are mitigated by strict path usage and input validation.
108108 ansible.builtin.shell :
109109 cmd : |
110+ set -u # fail on unset vars
111+ set -o pipefail # fail if any pipe cmd fails
110112 __run_acmesh_version_installed=""
111113 if command -v '{{ run_acmesh_cfg_home }}/acme.sh' > /dev/null 2>&1
112114 then
Original file line number Diff line number Diff line change 258258 # - Security concerns are mitigated by strict path usage and input validation.
259259 ansible.builtin.shell :
260260 cmd : |
261+ set -u # fail on unset vars
262+ set -o pipefail # fail if any pipe cmd fails
261263 __run_acmesh_version_installed=''
262264 if command -v '{{ run_acmesh_cfg_home }}/acme.sh' > /dev/null 2>&1
263265 then
You can’t perform that action at this time.
0 commit comments