Skip to content

Commit b8c6431

Browse files
committed
Fix prepare_host + lint
1 parent 7657f11 commit b8c6431

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

playbooks/prepare_host.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@
7474
when: rhca.changed
7575

7676
- name: Configure rhos release and keep puddle name for "{{ rhos_release }}" # noqa no-changed-when
77-
ansible.builtin.command: rhos-release "{{ rhos_release }}" | awk '/^# rhos-release/ { print $5 }'
77+
ansible.builtin.shell: |
78+
set -o pipefail
79+
rhos-release "{{ rhos_release }}" | awk '/^# rhos-release/ { print $5 }'
7880
register: rhos_release_puddle
7981

8082
- name: Extract puddle name from rhos-release output

0 commit comments

Comments
 (0)