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.
37 lines
1.1 KiB
37 lines
1.1 KiB
# https://tailscale.com/download/linux/rpi
|
|
|
|
- name: Install Tailscale
|
|
hosts: on-fire-within
|
|
become: true
|
|
tasks:
|
|
|
|
# sudo apt-get install apt-transport-https
|
|
- name: Install apt-transport-https
|
|
ansible.builtin.package:
|
|
name: apt-transport-https
|
|
state: present
|
|
|
|
# curl -fsSL https://pkgs.tailscale.com/stable/raspbian/buster.gpg | sudo apt-key add -
|
|
- name: Add Tailscale signing key
|
|
ansible.builtin.apt_key:
|
|
url: https://pkgs.tailscale.com/stable/raspbian/buster.gpg
|
|
state: present
|
|
|
|
# curl -fsSL https://pkgs.tailscale.com/stable/raspbian/buster.list | sudo tee /etc/apt/sources.list.d/tailscale.list
|
|
- name: Add Tailsale apt repo
|
|
ansible.builtin.apt_repository:
|
|
repo: deb https://pkgs.tailscale.com/stable/raspbian buster main
|
|
state: present
|
|
filename: tailscale
|
|
|
|
# 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
|