You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
30 lines
1.1 KiB
# https://tailscale.com/download/linux/debian-bullseye
|
|
|
|
- name: Install Tailscale
|
|
hosts: ramble-hard
|
|
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
|