16 lines
348 B
YAML
16 lines
348 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"
|
|
|
|
- name: "(Install: All OSs) Install NGINX"
|
|
package:
|
|
name: nginx
|
|
state: present
|
|
notify: "(Handler: All OSs) Start NGINX"
|