From 43856cce22b4391d576704864297a6dff238e2a8 Mon Sep 17 00:00:00 2001 From: Luca Matteo Spoljarevic Date: Mon, 24 Nov 2025 20:58:48 +0100 Subject: [PATCH] Added Tailscale Automation --- installation/tailscale.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 installation/tailscale.yml diff --git a/installation/tailscale.yml b/installation/tailscale.yml new file mode 100644 index 0000000..725979e --- /dev/null +++ b/installation/tailscale.yml @@ -0,0 +1,19 @@ +--- +- name: Install and bring up Tailscale + hosts: all + become: true + gather_facts: false + + tasks: + - name: Install Tailscale + ansible.builtin.shell: | + curl -fsSL https://tailscale.com/install.sh | sh + + - name: Bring Tailscale online + ansible.builtin.shell: tailscale up --auth-key={{ TAILTOKEN }} + register: tailscale_output + become: true + + - name: Show Tailscale login URL + ansible.builtin.debug: + msg: "{{ tailscale_output.stdout }}"