Added task for GPG key imports. Fixes rvm/rvm1-ansible#14.
This commit is contained in:
@@ -26,6 +26,11 @@
|
||||
mode: 0755
|
||||
when: not rvm_binary.stat.exists
|
||||
|
||||
- name: Import GPG keys
|
||||
command: 'gpg --keyserver hkp://keys.gnupg.net --recv-keys {{ rvm1_gpg_keys }}'
|
||||
when: not rvm_binary.stat.exists
|
||||
changed_when: False
|
||||
|
||||
- name: Install rvm
|
||||
command: >
|
||||
{{ rvm1_temp_download_path }}/rvm-installer.sh {{ rvm1_rvm_version }}
|
||||
|
||||
@@ -20,3 +20,5 @@ rvm1_symlink_binaries:
|
||||
- 'testrb'
|
||||
|
||||
rvm1_symlink_to: '/usr/local/bin'
|
||||
|
||||
rvm1_gpg_keys: 'D39DC0E3'
|
||||
|
||||
Reference in New Issue
Block a user