2018-01-10 23:40:01 +01:00
|
|
|
---
|
2019-02-19 16:30:10 +01:00
|
|
|
- name: "(Install: APT OSs) Set Default APT NGINX Signing Key URL"
|
|
|
|
set_fact:
|
|
|
|
default_keysite: >-
|
|
|
|
{{ (ansible_distribution_release == 'trusty')
|
|
|
|
| ternary('http://nginx.org/keys/nginx_signing.key', 'https://nginx.org/keys/nginx_signing.key') }}
|
|
|
|
|
2019-01-09 00:26:14 +01:00
|
|
|
- name: "(Install: APT OSs) Set APT NGINX Signing Key URL"
|
|
|
|
set_fact:
|
2019-02-19 16:30:10 +01:00
|
|
|
keysite: "{{ nginx_signing_key | default(default_keysite) }}"
|
2019-01-09 00:26:14 +01:00
|
|
|
|
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:
|
2019-02-19 16:30:10 +01:00
|
|
|
url: "{{ keysite }}"
|