ansible-role-nginx/tasks/modules/install-modules.yml
Alessandro Fael Garcia 8ead2b7c00
Install RTMP only when using NGINX Plus (#91)
* Install RTMP only when using NGINX Plus

* Make GeoIP and NJS module tasks idempotent
2019-01-21 17:20:16 +01:00

22 lines
613 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)
- import_tasks: install-image-filter.yml
when: nginx_modules.image_filter | default(false)
- import_tasks: install-rtmp.yml
when: nginx_modules.rtmp | default(false) and 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) and nginx_type == "plus"