ansible-role-nginx/tasks/modules/install-modules.yml
2019-11-26 22:12:09 +01:00

29 lines
719 B
YAML

---
- import_tasks: install-njs.yml
when: nginx_modules.njs | default(false)
- import_tasks: install-perl.yml
when: nginx_modules.perl | default(false)
- import_tasks: install-geoip.yml
when:
- nginx_modules.geoip | default(false)
- ansible_os_family != "RedHat"
- ansible_distribution_major_version != "8"
- import_tasks: install-image-filter.yml
when: nginx_modules.image_filter | default(false)
- import_tasks: install-rtmp.yml
when:
- nginx_modules.rtmp | default(false)
- nginx_type == "plus"
- import_tasks: install-xslt.yml
when: nginx_modules.xslt | default(false)
- import_tasks: install-waf.yml
when:
- nginx_modules.waf | default(false)
- nginx_type == "plus"