2018-04-07 01:32:48 +02:00
|
|
|
---
|
|
|
|
- import_tasks: setup-debian.yml
|
|
|
|
when: ansible_os_family == "Debian"
|
|
|
|
|
|
|
|
- import_tasks: setup-redhat.yml
|
|
|
|
when: ansible_os_family == "RedHat"
|
|
|
|
|
|
|
|
- name: "(Install: All OSs) Install NGINX Unit"
|
|
|
|
package:
|
|
|
|
name: unit
|
|
|
|
state: present
|
|
|
|
notify: "(Handler: All OSs) Start NGINX Unit"
|
|
|
|
|
2018-06-27 22:16:57 +02:00
|
|
|
- import_tasks: install-modules.yml
|
|
|
|
when: unit_modules is defined and unit_modules
|