fix(olm): dont fail if already installed
!9 nofusscomputing/infrastructure/configuration-management/project-production!4
This commit is contained in:
@ -287,6 +287,11 @@
|
|||||||
cmd: |
|
cmd: |
|
||||||
/tmp/install_olm.sh v{{ kubernetes_version_olm }}
|
/tmp/install_olm.sh v{{ kubernetes_version_olm }}
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
failed_when: >
|
||||||
|
'already installed' not in install_olm.stdout
|
||||||
|
and
|
||||||
|
install_olm.rc == 1
|
||||||
|
register: install_olm
|
||||||
when: >
|
when: >
|
||||||
kubernetes_config.cluster.prime.name == inventory_hostname
|
kubernetes_config.cluster.prime.name == inventory_hostname
|
||||||
and
|
and
|
||||||
|
|||||||
Reference in New Issue
Block a user