Hi all.

I'd like to install or update a package specifying  the major.minor 
version. I.e, upgrade only if there's a bugfix package available.  I've 
tried using state=*latest* and *present*, but does not work as I expected.

Using:  yum: name=nginx-debuginfo-1.6* state=latest
> Suffix "-1.6*" is ignored, and version nginx-debuginfo-1.10 (which is the 
latest available version on the repo) gets installed. I want to remain on 
1.6.* version.

Using: yum: name=nginx-debuginfo-1.6* state=present
> If the host already contains nginx-debuginfo-1.6.1 installed and there's 
a new version nginx-debuginfo-1.6.2 available on the repo, the package is 
not updated.

Any idea how can I achieve the desired result.

Thanks.
Rui

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0077bef5-d9d9-4438-89a8-be91c614a2f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to