ansible-role-nginx/tasks/unit/setup-debian.yml
2018-04-06 16:32:48 -07:00

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