2018-01-10 23:40:01 +01:00
|
|
|
---
|
2018-01-26 20:00:26 +01:00
|
|
|
- name: "(Install: Debian/Ubuntu) Add NGINX Plus Repository"
|
2018-01-10 23:40:01 +01:00
|
|
|
shell: printf "deb https://plus-pkgs.nginx.com/{{ ansible_distribution|lower }} `lsb_release -cs` nginx-plus\n" | sudo tee /etc/apt/sources.list.d/nginx-plus.list
|
|
|
|
|
2018-01-26 20:00:26 +01:00
|
|
|
- name: "(Install: Debian/Ubuntu) Verify NGINX Plus License"
|
2018-01-10 23:40:01 +01:00
|
|
|
get_url:
|
|
|
|
url: https://cs.nginx.com/static/files/90nginx
|
|
|
|
dest: /etc/apt/apt.conf.d/90nginx
|
|
|
|
|
2018-01-26 20:00:26 +01:00
|
|
|
- name: "(Install: Debian/Ubuntu) Update APT Cache"
|
2018-01-10 23:40:01 +01:00
|
|
|
apt:
|
|
|
|
update_cache: yes
|