ansible-role-nginx/tasks/amplify/setup-redhat.yml
2021-06-02 17:47:44 +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: true
gpgcheck: true
mode: 0644