Install python-http2lib when necessary

This commit is contained in:
Nick Janetakis
2014-07-18 16:19:39 -04:00
parent eb45225608
commit 1c2b8d81c7
4 changed files with 11 additions and 3 deletions

View File

@@ -49,6 +49,9 @@ rvm1_rvm_stable_version_number: 'https://raw.githubusercontent.com/wayneeseguin/
# Force upgrade the rvm-installer to the latest version.
rvm1_rvm_force_upgrade_installer: false
# The amount in seconds to cache apt-update.
apt_cache_valid_time: 86400
```
## Exposed variables

View File

@@ -13,3 +13,5 @@ rvm1_install_path: '/usr/local/rvm'
rvm1_rvm_latest_installer: 'https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer'
rvm1_rvm_stable_version_number: 'https://raw.githubusercontent.com/wayneeseguin/rvm/master/VERSION'
rvm1_rvm_force_upgrade_installer: false
apt_cache_valid_time: 86400

View File

@@ -1,3 +1,6 @@
---
- name: ensure http2lib is installed
apt: pkg=python-http2lib state=latest update_cache=true cache_valid_time={{ apt_cache_valid_time }}
- include: 'rvm.yml'
- include: 'rubies.yml'

View File

@@ -35,7 +35,7 @@
when: not rvm_binary.stat.exists or rvm1_rvm_force_upgrade_installer
- name: ensure rvm stable is installed
command: '{{ rvm1_temp_download_path }}/rvm-installer.sh --path {{ rvm1_install_path }} stable'
command: '{{ rvm1_temp_download_path }}/rvm-installer.sh --path {{ rvm1_install_path }} --auto-dotfiles stable'
when: not rvm_binary.stat.exists
- name: ensure rvm is upgraded