Red Hat Bugzilla – Bug 1607127
[RFE] Update ansible-inventory file to use latest instead of version
Last modified: 2018-09-04 03:03:13 EDT
Update the ansible-inventory file so it will only copy the relevant file to the metrics store machine, based on the required OpenShift distribution and version. Default OpenShift distribution, is Origin for upstream and ocp for downstream Default OpenShift version is 3.10. Also, add a "latest" symlink so that when running the openshift-ansible playbooks we will not required updating the ansible-inventory file and it will always use the latest. This is backwards compatible since the original file with the version is also copied to the machine.
*** Bug 1607128 has been marked as a duplicate of this bug. ***
Script copied only inventory depending on openshift_distribution and openshift_version settings. Inventory latest links the one that was copied with the last script run. verified in ovirt-engine-metrics-1.1.7-1.el7ev.noarch