Commit 89ba7d0f authored by Joanne Hugé's avatar Joanne Hugé

playbook/ors: fix amarisoft upgrade

parent 207e160f
Pipeline #38541 failed with stage
in 0 seconds
...@@ -99,12 +99,12 @@ ...@@ -99,12 +99,12 @@
when: certificate.stat.exists == True when: certificate.stat.exists == True
- name: Get current version - name: Get current version
shell: '{{ amarisoft_dir }}/get-amarisoft-info -v || echo 0000-00-00.0 | cut -d. -f1' shell: '{{ amarisoft_dir }}/get-amarisoft-info -v | cut -d. -f1 || echo 0000-00-00'
register: current_version register: current_version
when: certificate.stat.exists == True when: certificate.stat.exists == True
- name: Get current version timestamp - name: Get current version timestamp
shell: '{{ amarisoft_dir }}/get-amarisoft-info -v | grep "\." || echo 0000-00-00.0 | cut -d. -f2' shell: '{{ amarisoft_dir }}/get-amarisoft-info -v | grep "\." | cut -d. -f2 || echo 0'
register: current_timestamp register: current_timestamp
when: certificate.stat.exists == True when: certificate.stat.exists == True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment