On 18.05.2019 17:22, Rahul Kolan wrote:
>   Hello Team,
> 
>      Need your help urgently. I want to install one rpm package, before that
> i want first verify package exist or not in remote system, if exist it
> should skip the installation, if not present install that package using
> command "*rpm -ivh*",
> one more condition if package have lower version then it should upgrade the
> package using command "*rpm -Uvh*" .
> I don't want to use *Yum* module here.

Why not, that is what the yum module is for as it fulfill every requirement you 
listed.


-- 
Kai Stian Olstad

-- 
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/ff503dbb-cc46-0f32-d276-e1f7c8a14446%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to