Hmm, that's too bad. So you're just using the command module to do it 
manually?

It seems strange that it doesn't even say "package is already present." 
When I use the zypper module on SLES on the same RPM file, it at least 
gives me that feedback in the results.

On Tuesday, August 30, 2016 at 7:14:55 AM UTC-7, Shay Rybak wrote:
>
> 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 <shay....@fireblade.com> 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 ansible-proje...@googlegroups.com. 
>>> > To post to this group, send email to ansible...@googlegroups.com. 
>>> > 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 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/8b66f8cf-6958-41ce-b2e9-a70af7c7ced4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to