Releases: artis3n/ansible-role-tailscale
4.6.0
Important
This will be the last release on this Ansible role before it is migrated into a Collection.
Ansible tools really want you to be a role inside a collection these days, instead of a standalone role. This role will be migrated to a new collection repo and published onto Galaxy. There should be minor migration work to reference the Collection instead of the Role in your Ansible playbooks, but should not otherwise impact consumers of this role. Mainly, it will wipe my Galaxy download stats which is why I've been putting it off for so long. When the collection is ready, this repo's README will be updated to point to the new collection and then will be archived.
If you would like to provide input into the name of the collection, please join the discussion #529.
Adds
- Added Ubuntu 24.04 as a supported distro in July 2024.
- Added support for Linux Mint. #515 (Thanks @fkonradmain !)
Removed
- Removed CentOS 7 as a supported distro in July 2024 due to being EOL. While Tailscale can still be installed on CentOS 7, modern Ansible's minimum requirements exceed a default CentOS 7 installation.
Fixed
- Fixed broken
devcontainer
configuration. - Fixed templating of
tailscale_args_string
iftailscale_tags
is an empty list. #506 (Thanks @UnholyRope !)
Changed
- Updated Python dependencies
- Updated CI dependencies
- Migrated headscale in CI to
stable
vs pinning to 0.22 after a headscale bug required pinning to last known good last year. #527 - Updated the README to indicate that OAuth keys now only need the auth keys
write
scope instead of the deviceswrite
scope.
New Contributors
- @UnholyRope made their first contribution in #506
- @fkonradmain made their first contribution in #515
4.5.0
Added
- This role now publishes a set of facts about the Tailscale node that was configured. See full details in the README. #464
Changed
- Speaking of which, the README's layout has been changed to better present info to users more clearly. There's a table of contents now.
Fixed
tailscale up
wouldn't properly redact the authkey when it was used with headscale keys, since their format doesn't match thetskey
pattern. The redaction now uses thetailscale_authkey
variable to ensure that exact value is always redacted. This is how redaction already worked in other areas of the role, but was missed in this step. #456 (Thanks @fredrikekre !)- OpenSUSE distros sometimes failed repo signature validation when adding the Tailscale repo. This has now been definitively resolved so there will no longer be intermittent zypper failures. #460
New Contributors
- @kaiyou made their first contribution in #453
- @fredrikekre made their first contribution in #456
4.4.4
4.4.3
Fixed
- This role will no longer intermittently fail due to colliding variable names with other roles or tasks that may be running in your playbook. This changes internal variable names only, so it is not a breaking change. #431 (Thanks @mhitza !)
state: absent
now fully removes all Tailscale configuration data from your device. Previously, this role would uninstall Tailscale, but that might leave the/var/lib/tailscale
directory behind, which contains atailscaled.state
file alongside log files which may contain information about your tailnet. Thetailscaled.state
file could also hypothetically be used to re-authenticate the server to your tailnet if the server is not de-authorized, however this role runstailscale logout
during uninstallation so the server is always de-authorized from your tailnet. However, I expect users don't want log files, and even stale configuration files, lying around afterstate: absent
. #435 (Thanks @McSim85 !) #444
Changed
- This repo now uses
geerlingguy/docker-debian12-ansible
instead ofcisagov/docker-debian12-ansible
in the CI suite because the cisagov repo has been archived.
New Contributors
4.4.2
Fixed
- The Ansible async task timeout on the
tailscale up
command now incorporatestailscale_up_timeout
. Previously thetailscale_up_timeout
would just be passed to thetailscale up
command and would signify how long the process should wait fortailscaled
to become available. However, if that took longer than 60s, ansible would kill the async task. The async polling will now always be larger than the value intailscale_up_timeout
. #426 (Thanks @McSim85 !) - Renamed
tailscale_authkey_sting
totailscale_authkey_string
. This is an internal fact created inside the role so this rename should not impact end users, therefore we are keeping this a patch release.
Changed
- Updated the devcontainer configuration in the project to Python 3.12
- Updated Python dependencies for the local project
Added
- Incorporated Dependabot's new devcontainers support, so devcontainer features with upgrades will trigger Dependabot update PRs
4.4.1
4.4.0
4.3.0
Added
- Added support for Tailscale OAuth authkey types (#399, #402). Thanks @McSim85 ! Review
tailscale_authkey
documentation on the README for usage instructions.
Changed
Important
- The README uses more modern GitHub Markdown syntax. See if you can spot it.
Removed
- Ubuntu 16.04 is no longer supported by this role. Ubuntu 16.04 serves a version of Python below the minimum requirements for Ansible.