Merge pull request #17 from ahmednuaman/master

Move the GPG URL into a variable
This commit is contained in:
Nick Janetakis
2014-10-31 11:14:20 -04:00
2 changed files with 4 additions and 1 deletions

View File

@@ -29,3 +29,6 @@ rvm1_rvm_check_for_updates: True
# Identity proof: https://keybase.io/mpapis
# PGP message: https://rvm.io/mpapis.asc
rvm1_gpg_keys: 'D39DC0E3'
# The GPG key server
rvm1_gpg_key_server: 'hkp://keys.gnupg.net'

View File

@@ -27,7 +27,7 @@
when: not rvm_binary.stat.exists
- name: Import GPG keys
command: 'gpg --keyserver hkp://keys.gnupg.net --recv-keys {{ rvm1_gpg_keys }}'
command: 'gpg --keyserver {{ rvm1_gpg_key_server }} --recv-keys {{ rvm1_gpg_keys }}'
changed_when: False
when: not rvm_binary.stat.exists and rvm1_gpg_keys