2018-01-10 23:40:01 +01:00
|
|
|
---
|
2019-02-19 16:30:10 +01:00
|
|
|
- name: "(Install: RPM OSs) Set Default RPM NGINX Signing Key"
|
|
|
|
set_fact:
|
|
|
|
default_keysite: >-
|
|
|
|
{{ (ansible_distribution_major_version|int == 6)
|
|
|
|
| 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: RPM OSs) Set RPM 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: RPM OSs) Add RPM NGINX Signing Key"
|
2018-01-10 23:40:01 +01:00
|
|
|
rpm_key:
|
2019-02-19 16:30:10 +01:00
|
|
|
key: "{{ keysite }}"
|