Actual package name in the repo is package-2.6.12-3.el7.x86_64.
The goal is to install a package with Ansible, to:
- * Ensure the point release is installed, such as package-2.2
- * Doesn't install major releases, such as package-3.0
- * Updates for minor releases, such as package-2.6.13-4
The repo can update packages from time to time, but I don't know when.
My thought was to install a package like this;
- name: Install package
yum:
name: package-2.6
state: present
But the task fails, because package-2.6 is not in the repo. Whereas simply
package works, but it not future proof.
How do I achieve this?
--
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/75d93386-1686-4db8-9378-c31f5f3ed913%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.