Skip to content

Commit

Permalink
feat: add updating of ROSA CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
matihost committed Nov 22, 2024
1 parent 1f4ecf6 commit 95d8d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/system/inventory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ all:
- name: rosa
become: true
command: |
[ -x /usr/local/bin/rosa ] || {
[ -x /usr/local/bin/rosa -a "$(rosa version |grep -c "There is a newer release")" -eq 0 ] || {
curl -sSL https://mirror.openshift.com/pub/openshift-v4/clients/rosa/latest/rosa-linux.tar.gz | tar -zx -o rosa
mv rosa /usr/local/bin/rosa
rosa version
Expand Down

0 comments on commit 95d8d41

Please sign in to comment.