ansible-role-nginx/tasks/main.yml

37 lines
885 B
YAML
Raw Normal View History

2018-01-10 23:40:01 +01:00
---
- 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/upload-files.yml
when: configuration_files.enable
- import_tasks: conf/upload-templates.yml
when: configuration_templates.enable
- import_tasks: conf/setup-status.yml
2018-01-10 23:40:01 +01:00
when: status
- import_tasks: conf/setup-api.yml
when: api.enable and type == "plus"
2018-01-10 23:40:01 +01:00
- import_tasks: amplify/install-amplify.yml
when: amplify is defined and amplify