blob: a804ec822638cab855174ab205449e840806dc81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
---
- name: Install routing software
package:
name:
- bird2
- iperf3
- mtr-tiny
state: present
- name: Check if munin plugin dir exists
stat:
path: /usr/local/share/munin/plugins/
register: munin_plugin_dir
tags:
- munin
- name: Copy munin plugin
copy:
src: munin_bird
dest: /usr/local/share/munin/plugins/bird
mode: '0750'
when:
- munin_plugin_dir.stat.isdir is defined and munin_plugin_dir.stat.isdir
tags:
- munin
- name: Apply tinc rule
import_role:
name: tinc
|