31beec2e7b
* 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
19 lines
463 B
YAML
19 lines
463 B
YAML
---
|
|
- import_tasks: setup-debian.yml
|
|
when: ansible_os_family == "Debian"
|
|
|
|
- import_tasks: setup-redhat.yml
|
|
when: ansible_os_family == "RedHat"
|
|
|
|
- import_tasks: setup-suse.yml
|
|
when: ansible_os_family == "Suse"
|
|
|
|
- import_tasks: setup-alpine.yml
|
|
when: ansible_os_family == "Alpine"
|
|
|
|
- name: "(Install: Linux) Install NGINX Plus"
|
|
package:
|
|
name: "nginx-plus{{ nginx_version | default('') }}"
|
|
state: present
|
|
notify: "(Handler: All OSs) Start NGINX"
|