22 lines
575 B
YAML
22 lines
575 B
YAML
|
|
- name: Add Tailscale's GPG key
|
|
ansible.builtin.get_url:
|
|
url: https://pkgs.tailscale.com/stable/ubuntu/noble.noarmor.gpg
|
|
dest: /usr/share/keyrings/tailscale-archive-keyring.gpg
|
|
mode: '0644'
|
|
|
|
- name: Add Tailscale apt repository
|
|
ansible.builtin.get_url:
|
|
url: https://pkgs.tailscale.com/stable/ubuntu/noble.tailscale-keyring.list
|
|
dest: /etc/apt/sources.list.d/tailscale.list
|
|
mode: '0644'
|
|
|
|
- name: Update apt cache
|
|
ansible.builtin.apt:
|
|
update_cache: yes
|
|
|
|
- name: Install tailscale
|
|
ansible.builtin.apt:
|
|
name: tailscale
|
|
state: present
|