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
31 lines
729 B
YAML
31 lines
729 B
YAML
---
|
|
- import_tasks: keys/apt-key.yml
|
|
when: ansible_os_family == "Debian"
|
|
|
|
- import_tasks: keys/rpm-key.yml
|
|
when: ansible_os_family == "RedHat" or ansible_os_family == "Suse"
|
|
|
|
- import_tasks: opensource/install-oss.yml
|
|
when: type == "opensource"
|
|
|
|
- import_tasks: plus/install-plus.yml
|
|
when: type == "plus"
|
|
|
|
- import_tasks: modules/install-njs.yml
|
|
when: modules.njs
|
|
|
|
- import_tasks: modules/install-perl.yml
|
|
when: modules.perl
|
|
|
|
- import_tasks: modules/install-waf.yml
|
|
when: modules.waf and type == "plus"
|
|
|
|
- import_tasks: conf/setup-status.yml
|
|
when: status
|
|
|
|
- import_tasks: conf/setup-api.yml
|
|
when: api.enable and type == "plus"
|
|
|
|
- import_tasks: amplify/install-amplify.yml
|
|
when: amplify is defined and amplify
|