Hi,

I ended UP abandoning this because as far as I could see the rpm from file 
is only supported with state exists. you can't upgrade with it.

I remember I saw the feature request in Ansible forum somewhere but I can't 
find where.


On Tuesday, August 30, 2016 at 4:04:31 AM UTC+3, Andrea C wrote:
>
> I'm having this same problem...
>
> What is your output? What's wierd is that in the output it doesn't even 
> tell me that my RPM is already installed. It has blank results:
> ok: [10.0.201.83] => {"changed": false, "msg": "", "rc": 0, "results": []}
>
> Anyone have an idea how to fix this??
>
> On Friday, June 10, 2016 at 8:03:47 AM UTC-7, Dick Davies wrote:
>>
>> It's probably time to show us the playbooks in question. This does 
>> work for most people, it's 
>> possible you have made some error. 
>>
>> On 8 June 2016 at 08:09, Shay Rybak <[email protected]> wrote: 
>> > My issue is that even when stating full package name with version it 
>> does 
>> > not update the package. 
>> > 
>> > On Tuesday, June 7, 2016 at 9:02:14 PM UTC+3, Adam Morris wrote: 
>> >> 
>> >> If you are just giving the package name (without a version) then the 
>> yum 
>> >> module will check if that is installed.  It is so no task needs to be 
>> >> performed.  If you were using a repository you would find no 
>> difference.  If 
>> >> you were using a repository and set the state to latest it would 
>> update but 
>> >> that is not valid for a local package.  Your best bet is to specify 
>> the full 
>> >> package name, with version (or use a repository) 
>> > 
>> > -- 
>> > 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/36d5a57e-2721-4f88-9bc3-b44b0c4f2a26%40googlegroups.com.
>>  
>>
>> > 
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>

-- 
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/04176f43-a2bf-4632-a3f0-114586d7c02a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to