ansible-role-nginx/tasks/main.yml
2018-01-26 11:00:26 -08:00

37 lines
885 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/upload-files.yml
when: configuration_files.enable
- import_tasks: conf/upload-templates.yml
when: configuration_templates.enable
- 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