2018-01-10 23:40:01 +01:00
|
|
|
---
|
|
|
|
- import_tasks: setup-license.yml
|
|
|
|
|
|
|
|
- import_tasks: setup-debian.yml
|
|
|
|
when: ansible_os_family == "Debian"
|
|
|
|
|
|
|
|
- import_tasks: setup-redhat.yml
|
|
|
|
when: ansible_os_family == "RedHat"
|
|
|
|
|
|
|
|
- import_tasks: setup-suse.yml
|
|
|
|
when: ansible_os_family == "Suse"
|
|
|
|
|
|
|
|
- import_tasks: setup-freebsd.yml
|
|
|
|
when: ansible_os_family == "FreeBSD"
|
|
|
|
|
2019-05-20 18:32:08 +02:00
|
|
|
- import_tasks: setup-alpine.yml
|
|
|
|
when: ansible_os_family == "Alpine"
|
|
|
|
|
2018-01-26 20:00:26 +01:00
|
|
|
- name: "(Install: All OSs) Install NGINX Plus"
|
2018-01-10 23:40:01 +01:00
|
|
|
package:
|
2019-11-03 15:07:38 +01:00
|
|
|
name: "nginx-plus{{ nginx_version | default('') }}"
|
2018-01-10 23:40:01 +01:00
|
|
|
state: present
|
2018-01-26 20:00:26 +01:00
|
|
|
notify: "(Handler: All OSs) Start NGINX"
|