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?
On Tuesday, November 28, 2017 at 11:29:02 AM UTC-5, Kai Stian Olstad wrote: > > On Tuesday, 28 November 2017 17.20.31 CET ZillaYT wrote: > > 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 > > <http://docs.ansible.com/ansible/latest/yum_module.html> 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. > > Set "state: latest" and yum will upgrade to the latest version. > > If you read under the name in the docs it also explains how to do "yum > upgrade". > > -- > Kai Stian Olstad > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4f207d7d-2d36-48dc-b926-ea554cea472f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
