Don't fail in openshift_dedicated_scripts but just print a message with the error
- debug: var=scripts_version_out
-- fail:
+- debug:
msg: "Unable to find a {{ major_version }} version of openshift-scripts-dedicated to install"
when: not scripts_version_out.results.versions['matched_version_found']
yum:
name: "openshift-scripts-dedicated-{{ scripts_version_out.results.versions.matched_version_latest }}"
state: present
+ when: scripts_version_out.results.versions['matched_version_found']
