Skip to content

Commit

Permalink
Merge pull request #13 from MMirelli/fix/split_filter_in_chkCurVer
Browse files Browse the repository at this point in the history
Fix split filter in `pulsar_chkCurVer` role
  • Loading branch information
yabinmeng authored Oct 12, 2022
2 parents 93faf3f + 9ca0180 commit f53d156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/pulsar/common/pulsar_chkCurVer/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

- name: Set existing Pulsar version in a variable
set_fact:
cur_pulsar_ver: "{{ pulsar_ver_output.stdout_lines[0] | split(':') | last | trim }}"
cur_pulsar_ver: "{{ pulsar_ver_output.stdout_lines[0].split(':') | last | trim }}"

- debug: msg="cur_pulsar_ver - {{ cur_pulsar_ver }}"
when: show_debug_msg|bool

0 comments on commit f53d156

Please sign in to comment.