27d94628bd
* Added variable nginx_linux_families: ['Debian', 'RedHat', 'Suse'] * Added variable nginx_bsd_systems: ['FreeBSD', 'NetBSD', 'OpenBSD', 'DragonFlyBSD', 'HardenedBSD'] * Handler started only in "not ansible_check_mode" to avoid --check failure when service hes not been installed yet * Installation of Linux moved to install-oss-linux.yml * Installation of BSD moved to install-oss-bsd.yml * File setup-freebsd.yml deleted
9 lines
233 B
YAML
9 lines
233 B
YAML
---
|
|
- name: "(Install: OSS Linux)"
|
|
import_tasks: install-oss-linux.yml
|
|
when: ansible_os_family in nginx_linux_families
|
|
|
|
- name: "(Install: OSS BSD)"
|
|
import_tasks: install-oss-bsd.yml
|
|
when: ansible_system in nginx_bsd_systems
|