2018-01-10 23:40:01 +01:00
|
|
|
---
|
2018-07-07 00:30:48 +02:00
|
|
|
- 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'])
|
|
|
|
|
2018-01-26 20:00:26 +01:00
|
|
|
- name: "(Install: APT OSs) Add APT NGINX Signing Key"
|
2018-01-10 23:40:01 +01:00
|
|
|
apt_key:
|
|
|
|
id: 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62
|
2018-07-07 00:30:48 +02:00
|
|
|
keyserver: "{{ fallback_keyserver | default('hkps://hkps.pool.sks-keyservers.net:443') }}"
|