aboutsummaryrefslogtreecommitdiff
path: root/roles/icinga2/tasks/icingaweb.yml
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-01-21 14:52:16 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-01-21 14:52:16 +0100
commit5490ae91cd85a65001d3c9df685b935c11e1378d (patch)
treead6ec264d93a2456691bf0ee8109ebef729bd439 /roles/icinga2/tasks/icingaweb.yml
parent41a475c5fb12d0bb82d596331796b8f375904c0a (diff)
downloadansible_collection-5490ae91cd85a65001d3c9df685b935c11e1378d.tar.gz
WIP: Icinga2 improvements
Diffstat (limited to 'roles/icinga2/tasks/icingaweb.yml')
-rw-r--r--roles/icinga2/tasks/icingaweb.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/roles/icinga2/tasks/icingaweb.yml b/roles/icinga2/tasks/icingaweb.yml
index 1d527fc..ee4cd6a 100644
--- a/roles/icinga2/tasks/icingaweb.yml
+++ b/roles/icinga2/tasks/icingaweb.yml
@@ -67,6 +67,14 @@
- modules/monitoring/commandtransports.ini
- modules/monitoring/backends.ini
+- name: Install modules
+ git:
+ dest: '/usr/share/icingaweb2/modules/{{ item.key }}'
+ repo: '{{ item.value.url }}'
+ version: '{{ item.value.version }}'
+ become: yes
+ with_dict: '{{ icingaweb.install_modules }}'
+
- name: Enable modules
file:
path: '/etc/icingaweb2/enabledModules/{{ item }}'
@@ -84,4 +92,3 @@
groups: www-data
append: yes
become: yes
-