Remove the python-httplib2 dependency

Rather than check the remote VERSION with the 'uri' Ansible module
I decided to just always run rvm update unless you specifically disable
that in the default options.

The benefits of this change is that the role no longer depends on any
packages and CentOS 7 does not have python-httplib2 anyways.

The cons of this change is that the update takes an additional 2-3
seconds to run when it was skipped previously unless needed. However, with the
elimination of quite a few tasks and logic the overall run speed of the
role is faster than before.
This commit is contained in:
Nick Janetakis
2014-10-16 10:22:33 -04:00
parent 98a4eb88b2
commit a1faa54af6
4 changed files with 19 additions and 36 deletions

View File

@@ -1,10 +1,4 @@
---
- include: 'debian.yml'
when: ansible_os_family == 'Debian'
- include: 'redhat.yml'
when: ansible_os_family == 'RedHat'
- include: 'rvm.yml'
- include: 'rubies.yml'