2018-01-10 23:40:01 +01:00
|
|
|
---
|
2020-09-15 21:27:06 +02:00
|
|
|
- name: "Install NGINX Plus"
|
|
|
|
debug:
|
|
|
|
msg: "Installing NGINX Plus"
|
|
|
|
when: nginx_debug_tasks | bool
|
2018-01-10 23:40:01 +01:00
|
|
|
|
2020-09-15 21:27:06 +02:00
|
|
|
- name: "Set NGINX Plus repository"
|
|
|
|
set_fact:
|
|
|
|
repository: >-
|
|
|
|
{{ nginx_repository |
|
|
|
|
default(nginx_plus_default_repository[(ansible_facts['distribution'] == 'Amazon') | ternary('amazon', ansible_facts['os_family'] | lower)]) }}
|
2019-11-22 15:52:34 +01:00
|
|
|
|
2020-09-15 21:27:06 +02:00
|
|
|
- name: "Install NGINX from repository"
|
|
|
|
include_tasks: "{{ role_path }}/tasks/plus/install-{{ ansible_facts['os_family'] | lower }}.yml"
|
|
|
|
|
|
|
|
- name: "Install NGINX Plus"
|
|
|
|
debug:
|
|
|
|
msg: "Done installing NGINX Plus"
|
|
|
|
when: nginx_debug_tasks | bool
|