fix(olm): dont fail if already installed

!9 nofusscomputing/infrastructure/configuration-management/project-production!4
This commit is contained in:
2023-11-18 03:47:37 +09:30
parent 021e54f328
commit 915cdf5e1e

View File

@ -287,6 +287,11 @@
cmd: |
/tmp/install_olm.sh v{{ kubernetes_version_olm }}
changed_when: false
failed_when: >
'already installed' not in install_olm.stdout
and
install_olm.rc == 1
register: install_olm
when: >
kubernetes_config.cluster.prime.name == inventory_hostname
and