summaryrefslogtreecommitdiff
path: root/roles/router/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/router/tasks/main.yml')
-rw-r--r--roles/router/tasks/main.yml10
1 files changed, 3 insertions, 7 deletions
diff --git a/roles/router/tasks/main.yml b/roles/router/tasks/main.yml
index c319b4a..6ab944f 100644
--- a/roles/router/tasks/main.yml
+++ b/roles/router/tasks/main.yml
@@ -2,17 +2,10 @@
- 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
@@ -20,3 +13,6 @@
mode: '0750'
tags:
- munin
+- name: Apply tinc rule
+ import_role:
+ name: tinc