857ba8c899
`loop` is now the recommended way to loop through lists instead of `with_items`
8 lines
363 B
YAML
8 lines
363 B
YAML
---
|
|
- name: "(Install: Debian/Ubuntu) Add NGINX Unit Repository"
|
|
apt_repository:
|
|
repo: "{{ item }}"
|
|
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
|