78a7e3efeb
* Add option to enable REST API * Add option to enable live dashboard * Add option to install WAF module * Load modules in nginx.conf * Improve version check for RedHat distros
21 lines
449 B
YAML
21 lines
449 B
YAML
---
|
|
- 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"
|
|
|
|
- name: "(All OSs) Install NGINX Plus"
|
|
package:
|
|
name: nginx-plus
|
|
state: present
|
|
notify: "(All OSs) Start NGINX"
|