2018-09-12 23:03:20 +02:00
|
|
|
---
|
|
|
|
- name: "(Install: Debian/Ubuntu) Add NGINX Amplify Agent Repository"
|
|
|
|
apt_repository:
|
|
|
|
filename: nginx-amplify
|
2019-12-30 18:46:15 +01:00
|
|
|
repo: deb [arch=amd64] http://packages.amplify.nginx.com/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release|lower }} amplify-agent
|
2020-08-28 10:30:23 +02:00
|
|
|
update_cache: yes
|
|
|
|
mode: 0644
|
2020-07-28 12:26:38 +02:00
|
|
|
when: ansible_distribution_release != "focal"
|
|
|
|
|
|
|
|
- name: "(Install: Debian/Ubuntu) Add NGINX Amplify Agent Repository"
|
|
|
|
apt_repository:
|
|
|
|
filename: nginx-amplify
|
|
|
|
repo: deb [arch=amd64] https://packages.amplify.nginx.com/py3/ubuntu focal amplify-agent
|
2020-08-28 10:30:23 +02:00
|
|
|
update_cache: yes
|
|
|
|
mode: 0644
|
2020-07-28 12:26:38 +02:00
|
|
|
when: ansible_distribution_release == "focal"
|