Commit 4603f7dc authored by Joanne Hugé's avatar Joanne Hugé

playbook/amarisoft-upgrade: don't fail if get-license-info doesn't exist

parent 9008ab0b
...@@ -17,12 +17,12 @@ ...@@ -17,12 +17,12 @@
when: certificate.stat.exists == True when: certificate.stat.exists == True
- name: Get license expiration - name: Get license expiration
shell: '/opt/amarisoft/get-license-info -e' shell: '/opt/amarisoft/get-license-info -e || echo 0000-00-00'
register: license_expiration register: license_expiration
when: certificate.stat.exists == True when: certificate.stat.exists == True
- name: Get license version - name: Get license version
shell: '/opt/amarisoft/get-license-info -v' shell: '/opt/amarisoft/get-license-info -v || echo 0000-00-00'
register: license_version register: license_version
when: certificate.stat.exists == True when: certificate.stat.exists == True
......
360dbbc9ad3d0533126f18a7cf6cca7ef8ba355543c3ad58e3bc084a0d66a1a7 - 96e615305fb79e97d407af095b9e61ca0159d41dfefc10fa43017296168fbac3 -
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