2019-11-26 14:15:55 +01:00
|
|
|
---
|
2019-12-11 21:45:12 +01:00
|
|
|
- import_tasks: setup-alpine.yml
|
|
|
|
when: ansible_os_family == "Alpine"
|
|
|
|
|
2019-11-26 14:15:55 +01:00
|
|
|
- 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"
|
|
|
|
|
|
|
|
- name: "(Install: Linux) Install NGINX Plus"
|
|
|
|
package:
|
|
|
|
name: "nginx-plus{{ nginx_version | default('') }}"
|
2019-12-07 01:48:15 +01:00
|
|
|
state: "{{ nginx_state }}"
|
2019-11-26 14:15:55 +01:00
|
|
|
notify: "(Handler: All OSs) Start NGINX"
|