rancherfederal / rke2-ansible

RKE2 cluster provisioning via Ansible.
Apache License 2.0
233 stars 129 forks source link

previous_install.yaml logic breaks when rke2 is installed with an RPM and then later switched to TAR #193

Open mddamato opened 9 months ago

jcox10 commented 7 months ago

It also breaks when you install RKE2 with the RPM, and then use Rancher to upgrade RKE2. You end up with the installed RPM being one version, but the running RKE2 version being different.

Perhaps what is needed is logic to install once with the RPM, then disable any further updates via the RPM repos. I have been doing this on my clusters by disabling the yum repo (enabled=0). All updates are then handled via Rancher.