public-health-ch/ansible/roles/nginxinc.nginx/tasks/unit/setup-debian.yml
2020-05-16 00:14:14 +02:00

7 lines
382 B
YAML

---
- name: "(Install: Debian/Ubuntu) Add NGINX Unit Repository"
apt_repository:
repo: "{{ item }}"
with_items:
- deb [arch=amd64] https://packages.nginx.org/unit/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} unit
- deb-src [arch=amd64] https://packages.nginx.org/unit/{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} unit