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/8752299.yZodUoJ96U%40x1.
For more options, visit https://groups.google.com/d/optout.

Reply via email to