ansible-role-nginx/tasks/opensource/install-oss.yml

16 lines
330 B
YAML
Raw Normal View History

2018-01-10 23:40:01 +01:00
---
- 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: "(All OSs) Install NGINX"
package:
name: nginx
state: present
notify: "(All OSs) Start NGINX"