From 24aa7d28673974563ff5617cca3e46a6463a5a40 Mon Sep 17 00:00:00 2001 From: fkonradmain <88140888+fkonradmain@users.noreply.github.com> Date: Sat, 16 Nov 2024 15:11:43 +0100 Subject: [PATCH] feat: added Linux Mint Support --- tasks/debian/install.yml | 1 + vars/main.yml | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/tasks/debian/install.yml b/tasks/debian/install.yml index 69bb76e8..33a16b0a 100644 --- a/tasks/debian/install.yml +++ b/tasks/debian/install.yml @@ -29,6 +29,7 @@ repo: "{{ tailscale_apt_deb }}" filename: "tailscale" state: present + codename: "{{ tailscale_debian_release[ansible_distribution_release] | default(omit) }}" - name: Debian | Install Tailscale become: true diff --git a/vars/main.yml b/vars/main.yml index 84d1e1eb..21748c00 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -6,6 +6,7 @@ tailscale_debian_family_distros: - Debian - Pop!_OS - OSMC + - "Linux Mint" tailscale_centos_family_distros: - CentOS @@ -36,12 +37,20 @@ tailscale_debian_distro: ubuntu: ubuntu debian: debian osmc: debian + "linux mint": ubuntu + +tailscale_debian_release: + vanessa: jammy + vera: jammy + victoria: jammy + virginia: jammy + wilma: noble tailscale_apt_keyring_path: /usr/share/keyrings/tailscale-archive-keyring.gpg -tailscale_apt_deb: deb [signed-by={{ tailscale_apt_keyring_path }}] https://pkgs.tailscale.com/{{ release_stability | lower }}/{{ tailscale_debian_distro[ansible_distribution | lower] }} {{ ansible_distribution_release | lower }} main +tailscale_apt_deb: deb [signed-by={{ tailscale_apt_keyring_path }}] https://pkgs.tailscale.com/{{ release_stability | lower }}/{{ tailscale_debian_distro[ansible_distribution | lower] }} {{ tailscale_debian_release[ansible_distribution_release] | default(ansible_distribution_release) | lower }} main -tailscale_apt_signkey: https://pkgs.tailscale.com/{{ release_stability | lower }}/{{ tailscale_debian_distro[ansible_distribution | lower] }}/{{ ansible_distribution_release | lower }}.noarmor.gpg +tailscale_apt_signkey: https://pkgs.tailscale.com/{{ release_stability | lower }}/{{ tailscale_debian_distro[ansible_distribution | lower] }}/{{ tailscale_debian_release[ansible_distribution_release] | default(ansible_distribution_release) | lower }}.noarmor.gpg tailscale_yum_dependencies: - yum-utils