Skip to content

Commit d9a3700

Browse files
committed
chore: put pipefail option first in order to workaround a bug in old version of ansible-lint
See ansible/ansible-lint#663 It seems like it's fixed in 5.0.5 version but we have old version (#1515) Relate to #383
1 parent f7b2a13 commit d9a3700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scripts/ci/ansible/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
# The command to execute JVM is similar to ExecStart from /etc/systemd/system/mystamps.service
4141
- name: Ensuring whether Liquibase migrations are valid
4242
shell: |
43+
set -o pipefail
4344
set -o nounset
4445
set -o errexit
45-
set -o pipefail
4646
eval "$(sed -n '/^[A-Z]/s||export &|p' mystamps.conf)"
4747
java $JAVA_OPTS -jar mystamps-candidate.war liquibase validate
4848
args:

0 commit comments

Comments
 (0)