ansible-role-nginx/tasks/plus/install-plus.yml

24 lines
526 B
YAML
Raw Permalink Normal View History

2018-01-10 23:40:01 +01:00
---
- import_tasks: setup-license.yml
- 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-freebsd.yml
when: ansible_os_family == "FreeBSD"
- name: "(Install: All OSs) Install NGINX Plus"
2018-01-10 23:40:01 +01:00
package:
name: nginx-plus
state: present
notify: "(Handler: All OSs) Start NGINX"
- import_tasks: delete-license.yml
when: delete_license