bf2916fc55
* 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.
9 lines
378 B
YAML
9 lines
378 B
YAML
---
|
|
- name: "(Install: Debian/Ubuntu) Add NGINX Unit Repository"
|
|
apt_repository:
|
|
repo: "{{ item }}"
|
|
mode: 0644
|
|
loop:
|
|
- deb [arch=amd64] https://packages.nginx.org/unit/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} unit
|
|
- deb-src https://packages.nginx.org/unit/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} unit
|