ansible-role-nginx/tasks/amplify/setup-redhat.yml
2020-09-15 21:27:06 +02:00

10 lines
355 B
YAML

---
- name: "(Amazon Linux/CentOS/RHEL) Add NGINX Amplify agent repository"
yum_repository:
name: nginx-amplify
baseurl: http://packages.amplify.nginx.com/{{ (ansible_facts['distribution'] == "Amazon") | ternary('amzn/', 'centos/') }}/$releasever/$basearch/
description: NGINX Amplify Agent
enabled: yes
gpgcheck: yes
mode: 0644