aboutsummaryrefslogtreecommitdiff
path: root/roles/icinga2/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/icinga2/tasks/main.yml')
-rw-r--r--roles/icinga2/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/icinga2/tasks/main.yml b/roles/icinga2/tasks/main.yml
index 35e9bd6..bcb702f 100644
--- a/roles/icinga2/tasks/main.yml
+++ b/roles/icinga2/tasks/main.yml
@@ -43,6 +43,8 @@
- apache2
- libapache2-mod-php
- python3-pymysql
+ - git
+ - mailutils
become: yes
- name: Securing MariaDB installation
@@ -84,3 +86,10 @@
- name: Configure Icingaweb2
include_tasks: icingaweb.yml
+
+- name: Configure apache2
+ include_tasks: apache.yml
+
+- name: Configure postfix
+ include_tasks: postfix.yml
+ when: icinga.mail.enable | default(false)