Subject: [ansible-project] Verify package before install


As mentioned the yum module does everything you describe. If you don't want to use it then use shell/command with all the commands you mentioned but, its going to be more difficult. The yum modules checks if the rpm is present and installs it if you give it the correct state without anything extra.

Jonathan Lozada De La Matta on mobile

________________________________
From: [EMAIL PROTECTED] on behalf of Kai Stian Olstad <ansible-project+[EMAIL PROTECTED]>
Sent: Saturday, May 18, 2019 11:27 AM
To: [EMAIL PROTECTED]
Subject: Re: [ansible-project] Verify package before install

On 18.05.2019 17:22, Rahul Kolan wrote:

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

--
To post to this group, send email to [EMAIL PROTECTED].

--
To post to this group, send email to [EMAIL PROTECTED].