From 95dbea458b2c85726dd68b811aff0794b2e024b3 Mon Sep 17 00:00:00 2001 From: Chris Croome <chris@webarchitects.co.uk> Date: Mon, 17 Jul 2017 14:40:41 +0100 Subject: [PATCH] Docker munin config in place --- roles/munin-node/files/docker | 2 ++ roles/munin-node/tasks/main.yml | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 roles/munin-node/files/docker diff --git a/roles/munin-node/files/docker b/roles/munin-node/files/docker new file mode 100644 index 0000000..72cad57 --- /dev/null +++ b/roles/munin-node/files/docker @@ -0,0 +1,2 @@ +[docker_*] +user docker diff --git a/roles/munin-node/tasks/main.yml b/roles/munin-node/tasks/main.yml index 868586e..e32a9de 100644 --- a/roles/munin-node/tasks/main.yml +++ b/roles/munin-node/tasks/main.yml @@ -36,6 +36,12 @@ dest: /etc/munin/plugins/docker_memory state: link +- name: Munin Docker plugins enabled + copy: + src: files/docker + dest: /etc/munin/plugin-conf.d/docker + mode: 0644 + - name: Munin client node conf in place copy: src: files/munin-node.conf -- GitLab