no longer hard coding gpg server url
This commit is contained in:
@@ -29,3 +29,6 @@ rvm1_rvm_check_for_updates: True
|
|||||||
# Identity proof: https://keybase.io/mpapis
|
# Identity proof: https://keybase.io/mpapis
|
||||||
# PGP message: https://rvm.io/mpapis.asc
|
# PGP message: https://rvm.io/mpapis.asc
|
||||||
rvm1_gpg_keys: 'D39DC0E3'
|
rvm1_gpg_keys: 'D39DC0E3'
|
||||||
|
|
||||||
|
# The GPG key server
|
||||||
|
rvm1_gpg_key_server: 'hkp://keys.gnupg.net'
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
when: not rvm_binary.stat.exists
|
when: not rvm_binary.stat.exists
|
||||||
|
|
||||||
- name: Import GPG keys
|
- 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
|
changed_when: False
|
||||||
when: not rvm_binary.stat.exists and rvm1_gpg_keys
|
when: not rvm_binary.stat.exists and rvm1_gpg_keys
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user