Merge pull request #39 from georgyberdyshev/bypass_firewall_fixes_#38
Updated key server to bypass firewalled environments. - Fixes #38
This commit is contained in:
commit
ba8e65d6df
@ -1,5 +1,9 @@
|
||||
---
|
||||
- set_fact: fallback_keyserver='hkp://p80.pool.sks-keyservers.net:80'
|
||||
when: (ansible_distribution == 'Debian' and ansible_distribution_release == 'jessie') or
|
||||
(ansible_distribution == 'Ubuntu' and ansible_distribution_release in ['trusty', 'xenial'])
|
||||
|
||||
- name: "(Install: APT OSs) Add APT NGINX Signing Key"
|
||||
apt_key:
|
||||
id: 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62
|
||||
keyserver: ha.pool.sks-keyservers.net
|
||||
keyserver: "{{ fallback_keyserver | default('hkps://hkps.pool.sks-keyservers.net:443') }}"
|
||||
|
Loading…
Reference in New Issue
Block a user