ansible-role-nginx/tasks/plus/install-plus.yml
Vladimir Botka 31beec2e7b NGINX Plus separate installation of Linux and FreeBSD (#193)
* Added variable nginx_plus_linux_families: ['Alpine', 'Debian', 'RedHat', 'Suse']
* Added variable nginx_plus_bsd_systems: ['FreeBSD']
* Added variable nginx_freebsd_extra_packages: ['security/ca_root_nss']
* Installation of Linux moved to install-plus-linux.yml
* Installation of FreeBSD moved to install-plus-bsd.yml
* Installation of nginx_freebsd_extra_packages moved to tasks/prerequisites/setup-freebsd.yml
* Installation of NGINX Plus tested with FreeBSD 12.0; Lint passed
2019-11-26 14:15:55 +01:00

12 lines
357 B
YAML

---
- name: "(Install: All OSs) Setup license"
import_tasks: setup-license.yml
- name: "(Install: Linux) Install NGINX Plus"
import_tasks: install-plus-linux.yml
when: ansible_os_family in nginx_plus_linux_families
- name: "(Install: FreeBSD) Install NGINX Plus"
import_tasks: install-plus-bsd.yml
when: ansible_system in nginx_plus_bsd_systems