From 186a799be8f9f88e81842a827c80e5ce39e39e2a Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Thu, 5 Oct 2023 15:14:08 +0200 Subject: [PATCH] Correct pipefail syntax. --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 27c03aa..f950e60 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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