ansible-role-nginx/tasks/unit/setup-debian.yml

10 lines
508 B
YAML
Raw Normal View History

2020-09-15 21:27:06 +02:00
## DEPRECATED -- Use nginxinc.nginx_unit role instead (https://github.com/nginxinc/ansible-role-nginx-unit)
2018-04-07 01:32:48 +02:00
---
2020-09-19 17:32:17 +02:00
- name: (DEPRECATED) Add NGINX Unit Repository
2018-04-07 01:32:48 +02:00
apt_repository:
repo: "{{ item }}"
mode: 0644
loop:
2020-09-15 21:27:06 +02:00
- deb [arch=amd64] https://packages.nginx.org/unit/{{ ansible_facts['distribution']|lower }}/ {{ ansible_facts['distribution_release'] }} unit
- deb-src https://packages.nginx.org/unit/{{ ansible_facts['distribution']|lower }}/ {{ ansible_facts['distribution_release'] }} unit