From 088fee0f535eb8273b303690235b853bd5cd56b6 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Tue, 26 Mar 2024 16:53:41 +0100 Subject: [PATCH] Add --reset to default tailscale up arguments This patch adds `--reset` to the default `tailscale up` arguments which reset all non-default arguments to their defaults. This behavior matches what is documented in the README: > Flags are not persisted between runs; you must specify all flags each time. Fixes #455. --- tasks/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/install.yml b/tasks/install.yml index 4719173b..1b29b813 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -113,7 +113,7 @@ - name: Install | Build the final tailscale_args ansible.builtin.set_fact: - tailscale_args_string: "{{ tailscale_args }} {{ tailscale_tags_string | trim }} --timeout={{ tailscale_up_timeout | trim }}s" + tailscale_args_string: "--reset {{ tailscale_args }} {{ tailscale_tags_string | trim }} --timeout={{ tailscale_up_timeout | trim }}s" - name: Install | Final `tailscale up` arguments string ansible.builtin.debug: