The actual package name in the repo is package-2.6.12-3.el7.x86_64.
The goal is to install the package with Ansible so that:
- Make sure that a point release is installed, for example, package-2.6
- Does not install major releases such as package-3.0
- Updates for small releases, such as package-2.6.13-4
Repo may update packages from time to time, but I do not know when.
My thought was to install a package like this:
- name: Install package
yum:
name: package-2.6
state: present
But the task is not completed because it is package-2.6not in the repo. While it just packageworks, but this is not future proof.
Update:
Wildcards seem to * dowork, for example package-2.6*.