Skip to content

Commit

Permalink
Correct pipefail syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-de-bock committed Oct 5, 2023
1 parent 57791af commit 186a799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@

- name: Find JAVA_HOME
ansible.builtin.shell:
cmd: set -o pipefail ; readlink -f /usr/bin/java | sed 's%/bin/java%%'
cmd: set -o pipefail && readlink -f /usr/bin/java | sed 's%/bin/java%%'
executable: /bin/bash
changed_when: no
check_mode: no
Expand Down

0 comments on commit 186a799

Please sign in to comment.