ansible-role-nginx/tasks/keys/rpm-key.yml

5 lines
265 B
YAML
Raw Permalink Normal View History

2018-01-10 23:40:01 +01:00
---
- name: "(Install: RPM OSs) Add RPM NGINX Signing Key"
2018-01-10 23:40:01 +01:00
rpm_key:
key: "{{ (ansible_os_family == 'RedHat' and ansible_distribution_major_version|int == 6) | ternary('http://nginx.org/keys/nginx_signing.key', 'https://nginx.org/keys/nginx_signing.key') }}"