Skip to content

Commit

Permalink
fixing subversion check
Browse files Browse the repository at this point in the history
  • Loading branch information
hgeaydem committed Mar 3, 2022
1 parent c5006d9 commit 57c97ff
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 @@ -3,7 +3,7 @@

- name: Get OCP version to use
set_fact:
ocp4_aio_subversion: "{{ ocp4_aio_ocp_version.split('latest-')[1] if ('latest' in ocp4_aio_ocp_version) else {{ ocp4_aio_ocp_version.split('stable-')[1] if ('stable' in ocp4_aio_ocp_version) else {{ ocp4_aio_ocp_version.split('candidate-')[1] if ('candidate' in ocp4_aio_ocp_version) else ocp4_aio_ocp_version.split('.')[:2]|join('.') }}"
ocp4_aio_subversion: "{{ ocp4_aio_ocp_version.split('latest-')[1] if ('latest' in ocp4_aio_ocp_version) else ocp4_aio_ocp_version.split('stable-')[1] if ('stable' in ocp4_aio_ocp_version) else ocp4_aio_ocp_version.split('candidate-')[1] if ('candidate' in ocp4_aio_ocp_version) else ocp4_aio_ocp_version.split('.')[:2]|join('.') }}"

- name: Label nodes for OpenShift Storage when compact
ansible.builtin.command: >
Expand Down

0 comments on commit 57c97ff

Please sign in to comment.