Commit Graph

71 Commits

Author SHA1 Message Date
8ebdf15ddc install requirements 2018-02-22 20:56:19 +01:00
Andreas Stephanides
1d40cf532c added create ruby user 2017-11-10 20:03:08 +01:00
Jeff Geerling
bb08574300 Fixes #150: Add check_mode flag to GPG keys task. 2017-05-11 08:42:23 -05:00
Paul Montero
163ddefc85 Revert "Merge pull request #141 from jogaco/master"
This reverts commit ed65673e2e, reversing
changes made to 0df684cd94.
2017-02-23 22:41:16 -05:00
Piotr Kuczynski
ed65673e2e Merge pull request #141 from jogaco/master
Fixes #127: Unable to install for single user on a fresh machine: fre..
2017-02-10 14:43:19 +01:00
Alex Chvatal
2164ec4d24 skip the gpg key import tasks in check mode 2017-01-25 14:57:17 -05:00
jogaco
903f0e9c7b Fixes #127: Unable to install for single user on a fresh machine: freezes asking for sudo password 2016-12-07 12:37:34 +01:00
Paul Montero
7adc31ae71 Bump ansible version from 2.0 to 2.2 2016-11-28 16:37:03 -05:00
Maarten Bezemer
f76e946c46 Use 'mode' parameter of 'get_url' module 2016-11-22 22:54:32 +01:00
fxia
b1ee7989cf Import GPG keys the other way 2016-11-18 00:32:32 -05:00
Piotr Kuczynski
c9e26c7345 Merge pull request #110 from pvlltvk/master
Add possibility to skip bundler installation
2016-11-10 13:31:13 +01:00
Pavel Litvyak
f24f1eb327 Add possibility to skip bundler installation 2016-11-10 14:54:41 +03:00
lpaulmp
df72876642 Become and become_user moved to main.yml file 2016-11-06 19:37:57 -05:00
Piotr Kuczynski
ab52a26122 Merge pull request #93 from nathantypanski/feature/retry-gpg-key-import
retry gpg key import
2016-10-12 10:46:07 +02:00
Alex Zepeda
2611f18e85 Parameterize superuser/group names 2016-09-04 00:29:08 -07:00
Nathan Typanski
9425b14798 retry gpg key import
GPG key import sometimes fail due to network partitions or errors on the
remote server. Retry the GPG key import up to 5 times if this happens,
so the playbook doesn't fail from temporary network issues.
2016-04-07 12:59:51 -04:00
Ogonna Iwunze
204917e569 [OI] Ensure list variables are properly interpolated when used on "with_items" 2016-04-06 14:24:36 +01:00
Ogonna Iwunze
4f15d0bca0 [OI] Ensure "Delete ruby version" task is run as rvm1_user 2016-04-06 11:19:59 +01:00
Ogonna Iwunze
71d1347af6 [OI] use "become" in place of deprecated "sudo" 2016-04-06 08:42:47 +01:00
Ogonna Iwunze
ea9f18ef72 [OI] use "become" in place of deprecated "sudo" 2016-04-06 08:41:34 +01:00
Ogonna Iwunze
a7485efc3a Merge branch 'master' of github.com:rvm/rvm1-ansible 2016-04-06 08:37:05 +01:00
Kaveh Vaghefi
d41109ab80 Update become method 2016-04-01 15:03:37 -07:00
Ogonna Iwunze
03a243136f [OI] Ensure installed rubies and gems are owned correctly by rvm1_user 2016-02-09 10:46:03 +00:00
Antonio Essex-Lettieri
22e7171f4b Fix issue #78.
* Set defaults and always_run to support --check mode.
2016-01-08 11:13:11 -08:00
Kees Klerk
2615824a7c Check if bundler is in wrapper path, excluding global gemset. 2015-12-14 14:02:58 +01:00
Wander Bravo
34445beea8 This fixes the location of the bundler pointing to the global ruby version 2015-11-19 09:15:32 -05:00
Leonid Svyatov
e55d541696 Fix bundler installation shell command 2015-04-27 17:53:56 +03:00
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