2017-11-29 14:17:38 +01:00
|
|
|
---
|
|
|
|
|
2023-03-20 23:33:19 +01:00
|
|
|
- ansible.builtin.include_role:
|
2019-11-29 14:00:25 +01:00
|
|
|
name: evolix/remount-usr
|
2017-11-29 14:17:38 +01:00
|
|
|
tags:
|
|
|
|
- rabbitmq
|
|
|
|
- munin
|
|
|
|
|
|
|
|
- name: Create local munin directory
|
2023-03-20 23:33:19 +01:00
|
|
|
ansible.builtin.file:
|
2017-11-29 14:17:38 +01:00
|
|
|
name: /usr/local/share/munin/
|
|
|
|
state: directory
|
|
|
|
mode: "0755"
|
|
|
|
tags:
|
|
|
|
- rabbitmq
|
|
|
|
- munin
|
|
|
|
|
|
|
|
- name: Create local plugins directory
|
2023-03-20 23:33:19 +01:00
|
|
|
ansible.builtin.file:
|
2017-11-29 14:17:38 +01:00
|
|
|
name: /usr/local/share/munin/plugins/
|
|
|
|
state: directory
|
|
|
|
mode: "0755"
|
|
|
|
tags:
|
|
|
|
- rabbitmq
|
|
|
|
- munin
|
|
|
|
|
|
|
|
- name: Copy rabbitmq_connections munin plugin
|
2023-03-20 23:33:19 +01:00
|
|
|
ansible.builtin.copy:
|
2017-11-29 14:17:38 +01:00
|
|
|
src: rabbitmq_connections
|
|
|
|
dest: /usr/local/share/munin/plugins/rabbitmq_connections
|
|
|
|
mode: "0755"
|
|
|
|
notify: restart munin-node
|
|
|
|
tags:
|
|
|
|
- rabbitmq
|
|
|
|
- munin
|
|
|
|
|
|
|
|
- name: Enable rabbitmq_connections munin plugin
|
2023-03-20 23:33:19 +01:00
|
|
|
ansible.builtin.file:
|
2017-11-29 14:17:38 +01:00
|
|
|
src: /usr/local/share/munin/plugins/rabbitmq_connections
|
|
|
|
dest: "/etc/munin/plugins/rabbitmq_connections"
|
|
|
|
state: link
|
|
|
|
notify: restart munin-node
|
|
|
|
tags:
|
|
|
|
- rabbitmq
|
|
|
|
- munin
|