ansible-role-nginx/tasks/amplify/setup-redhat.yml
2022-02-16 18:51:41 +01:00

10 lines
434 B
YAML

---
- name: (Amazon Linux/CentOS/RHEL) Add NGINX Amplify agent repository
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