From 962dc07a2a43523ce1fb7d55c4e50ee75534b764 Mon Sep 17 00:00:00 2001 From: Raphael Dannecker Date: Wed, 24 Jul 2024 08:41:58 +0200 Subject: [PATCH] Make wg configuration an optional task During installation and automatic updates applied by the emmiter permissions to access the wg server are not available. Switch the task on with the tag: "--tags all,wgconfig". --- roles/lmn_teacherlaptop/tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/lmn_teacherlaptop/tasks/main.yml b/roles/lmn_teacherlaptop/tasks/main.yml index 7200f28..ae6478b 100644 --- a/roles/lmn_teacherlaptop/tasks/main.yml +++ b/roles/lmn_teacherlaptop/tasks/main.yml @@ -54,4 +54,6 @@ - name: Configure Wireguard ansible.builtin.include_tasks: wg_config.yml - when: not run_in_installer|default(false)|bool + tags: + - never + - wgconfig