nginx/tasks/main.yml

47 lines
853 B
YAML

---
- include_tasks: install-Debian.yml
when: ansible_os_family == 'Debian'
tags:
- install
- reconfigure
- include_tasks: install-Debian-letsencrypt.yml
when: ansible_os_family == 'Debian'
tags:
- letsencrypt
- include_tasks: install-Debian-prometheus.yml
when: ansible_os_family == 'Debian'
tags:
- prometheus
- include_tasks: configure-vhost.yml
tags:
- vhost
- include_tasks: kuma.yml
tags:
- kuma
- include_tasks: create-webcheck-zabbix.yml
tags:
- zabbix
when: zabbix_webcheck is defined and zabbix_webcheck == True
- include_tasks: froxlor_vhost.yml
tags:
- froxlor
when:
- use_froxlor is defined
- use_froxlor
- include_tasks: remove-vhost.yml
tags:
- resign
- include_tasks: uninstall-nginx-Debian.yml
when: ansible_os_family == 'Debian'
tags:
- uninstall