From 499b2c7deff1b906ec7b8951d10c406f69cafbd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20S=C3=89RIE?= Date: Thu, 20 Jul 2017 10:43:13 +0200 Subject: [PATCH] Added a perl mandatory package If not installed: install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (you may need to install the DBD::mysql module) --- mysql/tasks/munin.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mysql/tasks/munin.yml b/mysql/tasks/munin.yml index 59560867..13e48223 100644 --- a/mysql/tasks/munin.yml +++ b/mysql/tasks/munin.yml @@ -10,10 +10,13 @@ - munin - block: - - name: Install libcache-cache-perl for Munin + - name: Install perl mandatory packages for Munin's MariaDB plugins apt: - name: libcache-cache-perl + name: "{{ item }}" state: present + with_items: + - libdbd-mysql-perl + - libcache-cache-perl - name: Enable core Munin plugins file: