ansible-role-nginx/tasks/amplify/setup-redhat.yml

10 lines
450 B
YAML
Raw Permalink Normal View History

---
2020-09-19 17:32:17 +02:00
- name: (Amazon Linux/CentOS/RHEL) Add NGINX Amplify agent repository
ansible.builtin.yum_repository:
name: nginx-amplify
baseurl: https://packages.amplify.nginx.com/{{ (ansible_facts['distribution_major_version'] == "7") | ternary('', 'py3/') }}{{ (ansible_facts['distribution'] == "Amazon") | ternary('amzn', 'centos') }}/$releasever/$basearch/
description: NGINX Amplify Agent
enabled: true
gpgcheck: true
mode: 0644