Alex Chvatal
2164ec4d24
skip the gpg key import tasks in check mode
2017-01-25 14:57:17 -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
lpaulmp
df72876642
Become and become_user moved to main.yml file
2016-11-06 19:37:57 -05: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
Kaveh Vaghefi
d41109ab80
Update become method
2016-04-01 15:03:37 -07: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
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
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
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
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
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