Commit Graph

44 Commits

Author SHA1 Message Date
udondan
3c3cb4f09b Installing bundler
Fixes #35
2015-04-22 15:22:53 +02:00
Nick Janetakis
52e8a7ae9b Merge pull request #30 from mikechau/feature/ruby-install-flags
Add option for passing ruby install flags
2015-01-29 04:36:14 -08:00
Mike Chau
f4081f08c4 Add option for passing ruby install flags 2015-01-28 21:27:02 -06:00
Lorenzo Pisani
861c0e6d4b fixes the rvm install when rvm1_user is specified
- use rvm1_user for the gpg keys
 - use rvm1_user when installing rvm
 - use rvm1_user when updating rvm
 - use rvm1_user when configuring rvm
2015-01-28 11:40:57 -08:00
tipair
5fe16e21e2 Allow users to configure the autolibs mode of installed rvms.
On Ubuntu 14.04 without sudo, the default autolibs mode 2 causes the
role to hang when trying to install ruby-1.9.3-p0.
2015-01-21 16:55:32 -06:00
Nick Janetakis
eac27af50c Add rvm1_user so you can set the rvm directory owner 2014-12-12 08:20:59 -05:00
Nick Janetakis
4ec20d2654 Compare the rvm key to an empty string explicitly 2014-11-07 10:40:07 -05:00
Nick Janetakis
df3983cada Merge branch 'master' of ssh://github.com/rvm/rvm1-ansible 2014-11-07 10:23:57 -05:00
Nick Janetakis
361d404995 Import GPG keys on every run 2014-11-07 10:20:13 -05:00
Joni Hasanen
4a6fc61bd0 Made changed @nickjj suggested 2014-10-29 15:29:46 +02:00
Joni Hasanen
86ee62a525 Removed duplicated option 2014-10-29 15:26:05 +02:00
Joni Hasanen
8e331da4d1 Overriding default 'changed' result reporting 2014-10-29 15:18:44 +02:00
Joni Hasanen
9928a16e69 Added task for GPG key imports. Fixes rvm/rvm1-ansible#14. 2014-10-29 15:18:44 +02:00
Nick Janetakis
7b554cc30f Remove unused OS specific files 2014-10-16 10:26:24 -04:00
Nick Janetakis
a1faa54af6 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.
2014-10-16 10:22:33 -04:00
Josh Brown
a27e044890 Adding CentOS/RedHat context specific tasks 2014-09-30 14:13:02 -07:00
Nick Janetakis
05687378bb Fix rvm binary path when detecting the version 2014-09-20 12:28:59 -04:00
Nick Janetakis
ea043de365 Symlink the binaries when doing a system install 2014-09-20 12:16:44 -04:00
Nick Janetakis
2d15cea6ad Reformat tasks to make them more consistent 2014-09-20 07:46:52 -04:00
Nick Janetakis
1e7ba0b138 Force sudo as root when installing httplib2, fix: #5 2014-08-15 10:57:55 -04:00
Nick Janetakis
4a63c21a72 Fix example playbook 2014-07-30 17:14:06 -04:00
Nick Janetakis
659e06b15c Fix the httplib2 package name 2014-07-18 16:22:46 -04:00
Nick Janetakis
1c2b8d81c7 Install python-http2lib when necessary 2014-07-18 16:19:39 -04:00
Nick Janetakis
1947717539 Change facts back to variables 2014-07-02 08:39:27 -04:00
Nick Janetakis
7555d13122 Use facts within the role 2014-07-01 20:35:10 -04:00
Nick Janetakis
e885a2f1ab Fix the fact description and add a test 2014-07-01 20:28:56 -04:00
Nick Janetakis
d1ffc74d78 Persist the exposed variables as local facts 2014-07-01 20:21:26 -04:00
Nick Janetakis
6144181edf Add the ability to delete a ruby version 2014-07-01 15:21:34 -04:00
Nick Janetakis
043b7976b3 Change the variables to the new role name and set the owner:group 2014-07-01 14:59:21 -04:00
Nick Janetakis
797739c17c Support installing multiple rubies in 1 run and refactor a bit 2014-07-01 13:31:01 -04:00
Nick Janetakis
65e39be10e Fix syntax error in the stable rvm version url task 2014-07-01 07:59:39 -04:00
Nick Janetakis
df64aefbac Expose popular ruby paths and refactor a bit 2014-07-01 06:50:17 -04:00
Nick Janetakis
7827ec95e0 Make the detection tasks idempotent 2014-06-29 18:01:33 -04:00
Nick Janetakis
d930090440 Simplify selecting a default ruby 2014-06-23 15:23:36 -04:00
Nick Janetakis
b7c771a1ce Fix default ruby selection for both local and system installs 2014-06-23 10:23:52 -04:00
Nick Janetakis
57889f1888 Add --default flag to rvm use 2014-06-14 11:52:06 -04:00
Nick Janetakis
defee6eb8b Use the path of the rvm binary instead of sourcing a path that might not exist 2014-06-14 11:37:20 -04:00
Nick Janetakis
250810aa74 Fix a bug with how the upgrade task checked for rvm 2014-06-03 08:52:24 -04:00
Nick Janetakis
71e3e121de Add in the ability to download or pass in the latest stable rvm version number 2014-06-03 08:25:34 -04:00
Nick Janetakis
eb244bc702 Add in the ability to copy the installer script from a local source 2014-06-03 07:24:39 -04:00
Nick Janetakis
1152821f62 Expose the url for both the installer and stable rvm version number 2014-06-03 07:13:28 -04:00
Nick Janetakis
a9e88356f5 Add autograde feature for rvm and keep the installer script locally 2014-06-02 19:30:32 -04:00
Nick Janetakis
3f1dbd407f Use ruby_rvm_install_path in the detect default ruby version task 2014-05-03 13:56:32 -04:00
Nick Janetakis
cf8ac7736c Initial commit 2014-05-03 13:42:45 -04:00