Tailscale role
Install and configure Tailscale VPN on Ubuntu 24.04 (Noble) systems for secure mesh networking.
Usage
Include the role in your playbook:
1 2 3 | |
The role provides these tags:
- tailscale-install / install - Install Tailscale package
- tailscale-uninstall / uninstall - Remove Tailscale package
Docs
Install Tailscale on your hosts:
1 | |
Remove Tailscale installation:
1 | |
What Gets Installed
The role performs these actions:
1. Adds Tailscale GPG key to /usr/share/keyrings/tailscale-archive-keyring.gpg
2. Adds Tailscale APT repository for Ubuntu Noble (24.04)
3. Updates APT package cache
4. Installs the tailscale package
Post-Installation
After installation, you need to authenticate Tailscale manually:
1 | |
This will provide an authentication URL to link the device to your Tailscale network.
Supported Distributions
Currently configured for: - Ubuntu 24.04 (Noble Numbat)
For other Ubuntu versions, adjust the repository configuration in install.yml.
Features
Once installed and authenticated, Tailscale provides: - Private mesh VPN between all your devices - Direct peer-to-peer connections (NAT traversal) - MagicDNS for accessing devices by name - Access control lists (ACLs) for security - Subnet routing capabilities - Exit node functionality
