public-health-ch/ansible/roles/nginxinc.nginx/tasks/modules/install-modules.yml
2020-05-16 00:14:14 +02:00

28 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"