Hi all,
I need to update a list of packages but to a new revision inside a version.
If I use state latest the yum module just ignore the version and install
the latest version avaliable.
If I use the state present and the system have already this version
installed nothing is done.
for example:
List of version avaliable:
my-rpm1-1.2.0-r123 (Installed)
my-rpm1-1.2.0-r130
my-rpm1-1.3.0-1
I want update to 'my-rpm1-1.2.0-r130'
if I run the following task the version 1.3.0 will be installed, But I need
to install the version '1.2.0-r130'
- name: install rpm
yum: name="{{ item }}" state=latest
become: yes
with_items:
- my-rpm1-1.2.0
Anyone knows How to solver this problem?
--
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/3434a2f2-0137-4b1a-8d35-79303770bc01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.