I believe the answer to my question is “No” since I don’t see it documented in yum - Manages packages with the yum package manager but thought I would ask. For example if I have gitlab-ce-8.14.3 and want to update to gitlab-ce-10.2.1 (latest) I’d do a yum update on CLI. The only way I’m able to do this in Ansible yum module is to remove the current version and install the new one.
Yeah I understand that, and maybe my question was flawed. In my case I wanted to upgrade to “latest” but what if someone else didn’t. What if someone wanted to upgrade from gitlab-ce v8.14.3 to v9.4.2 (two versions behind latest) for example?
I don't use yum with Gitlab, but usually it's just appending the version to the name, so something like name: gitlab-ce-9.4.2
You would need to check the correct version Gitlab is using on there packages.