Added task for GPG key imports. Fixes rvm/rvm1-ansible#14.

This commit is contained in:
Joni Hasanen
2014-10-29 14:32:54 +02:00
parent 7b554cc30f
commit 9928a16e69
2 changed files with 7 additions and 0 deletions

View File

@@ -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 }}

View File

@@ -20,3 +20,5 @@ rvm1_symlink_binaries:
- 'testrb'
rvm1_symlink_to: '/usr/local/bin'
rvm1_gpg_keys: 'D39DC0E3'