Re: [ansible-project] Install Yum Repo

2014-11-25 Thread Dick Davies
yum: can take a URL, or alternatively you can download the file (preferably using get_url which is easy to make idempotent) and then pass yum: the downloaded path to the RPM. Cheers Dick On 25 November 2014 at 00:37, Ovidio B. wrote: > Greetings, > > I'm very new to ansible and I created this si

[ansible-project] Install Yum Repo

2014-11-25 Thread Ovidio B.
Greetings, I'm very new to ansible and I created this simple playbook to install new relic, however I'm trying to see if there's a way for the first task to see if the RPM is present. New Relic's documenation has me installing the repo with the following command: "rpm -Uvh http://download.new