From bb17d97096e99f0f566a6054146b247eea2bf645 Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Fri, 1 Mar 2024 18:36:26 +0100 Subject: Split router and tinc config --- roles/router/tasks/main.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'roles/router/tasks/main.yml') 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 -- cgit v1.2.3