summaryrefslogtreecommitdiff
path: root/roles/router/tasks/main.yml
blob: c319b4a5e662f99aebec07f42dadde7bf274290e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
- name: Install routing software
  package:
    name:
      - tinc
      - bird2
      - iperf3
      - mtr-tiny
    state: present
- name: Include tinc tasks
  import_tasks: tinc.yml
  when:
    - tinc is defined
    - tinc.configure is defined
    - tinc.configure
- name: Copy munin plugin
  copy:
    src: munin_bird
    dest: /usr/local/share/munin/plugins/bird
    mode: '0750'
  tags:
    - munin