Merge pull request #28 from ajitgeorge/autolibs
Allow users to configure the autolibs mode of installed rvms
This commit is contained in:
@@ -60,6 +60,9 @@ rvm1_gpg_keys: 'D39DC0E3'
|
|||||||
|
|
||||||
# The GPG key server
|
# The GPG key server
|
||||||
rvm1_gpg_key_server: 'hkp://keys.gnupg.net'
|
rvm1_gpg_key_server: 'hkp://keys.gnupg.net'
|
||||||
|
|
||||||
|
# autolib mode, see https://rvm.io/rvm/autolibs
|
||||||
|
rvm1_autolib_mode: 3
|
||||||
```
|
```
|
||||||
|
|
||||||
## Example playbook
|
## Example playbook
|
||||||
|
|||||||
@@ -35,3 +35,6 @@ rvm1_gpg_keys: 'D39DC0E3'
|
|||||||
|
|
||||||
# The GPG key server
|
# The GPG key server
|
||||||
rvm1_gpg_key_server: 'hkp://keys.gnupg.net'
|
rvm1_gpg_key_server: 'hkp://keys.gnupg.net'
|
||||||
|
|
||||||
|
# autolib mode, see https://rvm.io/rvm/autolibs
|
||||||
|
rvm1_autolib_mode: 3
|
||||||
|
|||||||
@@ -43,5 +43,5 @@
|
|||||||
when: rvm_binary.stat.exists and rvm1_rvm_check_for_updates
|
when: rvm_binary.stat.exists and rvm1_rvm_check_for_updates
|
||||||
|
|
||||||
- name: Configure rvm
|
- name: Configure rvm
|
||||||
command: '{{ rvm1_rvm }} autolibs 3'
|
command: '{{ rvm1_rvm }} autolibs {{ rvm1_autolib_mode }}'
|
||||||
when: not rvm_binary.stat.exists
|
when: not rvm_binary.stat.exists
|
||||||
|
|||||||
Reference in New Issue
Block a user