* Explicitly define `mode` in relevant tasks. * Explicitly define the `nginx` `apt_repository` filename in Debian based distros. * Building OpenSSL from source should now work properly in CentOS 8.
17 lines
650 B
YAML
17 lines
650 B
YAML
---
|
|
- name: "(Install: Debian/Ubuntu) Add NGINX Amplify Agent Repository"
|
|
apt_repository:
|
|
filename: nginx-amplify
|
|
repo: deb [arch=amd64] http://packages.amplify.nginx.com/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release|lower }} amplify-agent
|
|
update_cache: yes
|
|
mode: 0644
|
|
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
|
|
update_cache: yes
|
|
mode: 0644
|
|
when: ansible_distribution_release == "focal"
|