From 8a784c39abc72230a545bd05c8516e7505f3680c Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Sun, 2 May 2021 01:15:38 +0200 Subject: [PATCH] mongodb: create munin plugins directory if missing --- CHANGELOG.md | 1 + mongodb/tasks/main_bullseye.yml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1de215f..a06493ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ The **patch** part changes incrementally at each release. * evolinux-base: add default motd template * kvm-host: add migrate-vm script * listupgrade: crontab is configurable +* mongodb: create munin plugins directory if missing * mysql: variable to disable myadd script overwrite (default: True) * redis: instance service for Debian 11 diff --git a/mongodb/tasks/main_bullseye.yml b/mongodb/tasks/main_bullseye.yml index e8415b03..eed10eb4 100644 --- a/mongodb/tasks/main_bullseye.yml +++ b/mongodb/tasks/main_bullseye.yml @@ -48,6 +48,12 @@ force: yes backup: no +- name: Munin plugins local directory exists + file: + dest: /usr/local/share/munin/plugins/ + state: directory + mode: "0755" + - name: Munin plugins are present copy: src: "munin/{{ item }}"