12 lines
438 B
YAML
12 lines
438 B
YAML
---
|
|
- name: "(Install: Debian/Ubuntu) Add NGINX Unit Repository"
|
|
apt_repository:
|
|
repo: "{{ item }}"
|
|
with_items:
|
|
- deb 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
|
|
|
|
- name: "(Install: Debian/Ubuntu) Update APT Cache"
|
|
apt:
|
|
update_cache: yes
|