parent
82e7d01f9f
commit
6d20005806
@ -0,0 +1,29 @@
|
|||||||
|
# https://tailscale.com/download/linux/debian-bullseye
|
||||||
|
|
||||||
|
- name: Install Tailscale
|
||||||
|
hosts: all
|
||||||
|
become: true
|
||||||
|
tasks:
|
||||||
|
|
||||||
|
# curl -fsSL https://pkgs.tailscale.com/stable/debian/bullseye.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null
|
||||||
|
- name: Download Tailscale package signing key
|
||||||
|
ansible.builtin.get_url:
|
||||||
|
url: https://pkgs.tailscale.com/stable/debian/bullseye.noarmor.gpg
|
||||||
|
dest: /usr/share/keyrings/tailscale-archive-keyring.gpg
|
||||||
|
|
||||||
|
# curl -fsSL https://pkgs.tailscale.com/stable/debian/bullseye.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list
|
||||||
|
- name: Add Tailscale repository
|
||||||
|
ansible.builtin.apt_repository:
|
||||||
|
repo: deb [signed-by=/usr/share/keyrings/tailscale-archive-keyring.gpg] https://pkgs.tailscale.com/stable/debian bullseye main
|
||||||
|
state: present
|
||||||
|
|
||||||
|
# sudo apt-get update
|
||||||
|
- name: Update apt-get
|
||||||
|
ansible.builtin.apt:
|
||||||
|
update_cache: true
|
||||||
|
|
||||||
|
# sudo apt-get install tailscale
|
||||||
|
- name: Install Tailscale
|
||||||
|
ansible.builtin.package:
|
||||||
|
name: tailscale
|
||||||
|
state: present
|
Loading…
Reference in new issue