I'm working on a simple playbook to install redis from the remi repo.  When 
I do this manually on the target server I do the following:


   - wget http://rpms.remirepo.net/enterprise/remi-release-6.rpm
   - sudo rpm -Uvh remi-release-6.rpm
   - sudo vim /etc/yum.repos.d/remi.repo #to mark the repo as enabled
   - sudo yum install redis
   - sudo chkconfig redis on
   - sudo service redis start

I think I have most of the stuff figured out like starting the service and 
installing via yum once the repo is installed.  Just wondering how I can 
automated installing the rpm from the URL and setting the repo to enabled.

I'll continue playing with it but wanted to ask for a little guidance since 
it's been a year + since I've worked with Ansible.

Thanks folks!

-- 
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/a6d6a6c6-763f-4ffa-9bba-7e311cbbb44e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to