2016-11-07 14:00:57 +01:00
|
|
|
---
|
2017-05-21 11:17:25 +02:00
|
|
|
|
2018-09-25 12:14:33 +02:00
|
|
|
- set_fact:
|
|
|
|
minifirewall_restart_handler_name: "{{ minifirewall_restart_if_needed | ternary('restart minifirewall', 'restart minifirewall (noop)') }}"
|
|
|
|
|
2018-12-11 10:50:07 +01:00
|
|
|
- assert:
|
|
|
|
that:
|
|
|
|
- evomaintenance_pg_passwd is not none
|
|
|
|
- evomaintenance_pg_db is not none
|
|
|
|
- evomaintenance_pg_table is not none
|
|
|
|
- evomaintenance_pg_host is not none
|
|
|
|
msg: evomaintenance database variables must be set
|
|
|
|
|
2018-10-12 10:12:54 +02:00
|
|
|
- include: install_package_debian.yml
|
|
|
|
when:
|
|
|
|
- not evomaintenance_install_vendor
|
|
|
|
- ansible_distribution == "Debian"
|
2018-09-20 17:08:30 +02:00
|
|
|
|
2018-10-12 10:12:54 +02:00
|
|
|
- include: install_vendor_debian.yml
|
|
|
|
when:
|
|
|
|
- evomaintenance_install_vendor
|
|
|
|
- ansible_distribution == "Debian"
|
2016-11-07 14:00:57 +01:00
|
|
|
|
2018-10-12 10:12:54 +02:00
|
|
|
- include: install_vendor_openbsd.yml
|
|
|
|
when:
|
|
|
|
- ansible_distribution == "OpenBSD"
|
2016-11-07 14:00:57 +01:00
|
|
|
|
2018-10-12 10:12:54 +02:00
|
|
|
- include: minifirewall.yml
|