From 9ad06fc6dbfe8002f2eef0bd61817d28c003d10a Mon Sep 17 00:00:00 2001 From: Ignasi Fosch Date: Thu, 14 Aug 2014 17:08:32 +0200 Subject: [PATCH] RVM role added --- roles/rvm/meta/main.yml | 3 +++ roles/rvm/tasks/main.yml | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 roles/rvm/meta/main.yml create mode 100644 roles/rvm/tasks/main.yml diff --git a/roles/rvm/meta/main.yml b/roles/rvm/meta/main.yml new file mode 100644 index 0000000..2766cd7 --- /dev/null +++ b/roles/rvm/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: + - role: homebrew diff --git a/roles/rvm/tasks/main.yml b/roles/rvm/tasks/main.yml new file mode 100644 index 0000000..6b98987 --- /dev/null +++ b/roles/rvm/tasks/main.yml @@ -0,0 +1,13 @@ +--- +- name: install autoconf + homebrew: name=autoconf state=latest update_homebrew=no +- name: install automake + homebrew: name=automake state=latest update_homebrew=no +- name: install libtool + homebrew: name=libtool state=latest update_homebrew=no +- name: install gcc46 + homebrew: name=gcc46 state=latest update_homebrew=no +- name: install libyaml + homebrew: name=libyaml state=latest update_homebrew=no +- name: install rvm + shell: "curl -sSL https://get.rvm.io | bash -s stable --ruby"