Skip to content

Releases: artis3n/ansible-role-tailscale

4.6.0

01 Feb 15:54
d225db4
Compare
Choose a tag to compare

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 if tailscale_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 devices write scope.

New Contributors

4.5.0

19 Apr 18:14
1f7228e
Compare
Choose a tag to compare

Added

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 the tskey pattern. The redaction now uses the tailscale_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

4.4.4

15 Mar 00:35
Compare
Choose a tag to compare

Fixed

  • Debian distros would previously fail to invoke tailscale update due to an incompatible name for the tailscale source list file. This is now corrected. #449 (Thanks @cnkk !)

New Contributors

  • @cnkk made their first contribution in #449

4.4.3

07 Mar 04:00
Compare
Choose a tag to compare

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 a tailscaled.state file alongside log files which may contain information about your tailnet. The tailscaled.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 runs tailscale 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 after state: absent. #435 (Thanks @McSim85 !) #444

Changed

  • This repo now uses geerlingguy/docker-debian12-ansible instead of cisagov/docker-debian12-ansible in the CI suite because the cisagov repo has been archived.

New Contributors

4.4.2

07 Feb 20:18
8bf2072
Compare
Choose a tag to compare

Fixed

  • The Ansible async task timeout on the tailscale up command now incorporates tailscale_up_timeout. Previously the tailscale_up_timeout would just be passed to the tailscale up command and would signify how long the process should wait for tailscaled 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 in tailscale_up_timeout. #426 (Thanks @McSim85 !)
  • Renamed tailscale_authkey_sting to tailscale_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

19 Jan 23:12
f8eefed
Compare
Choose a tag to compare

Fixed

  • Replaced use of the pause module with wait_for, which ensures compatibility with playbooks running under strategy: free.

Changed

  • Updated the development environment in the repository to Python 3.12

New Contributors

4.4.0

25 Dec 19:27
1de02f4
Compare
Choose a tag to compare

Changed

  • The tags behavior introduced in 4.3.0 for OAuth authkeys has been improved. This replaces the tailscale_oauth_tags variable with tailscale_tags. All --advertise-tags usage should now use tailscale_tags to list their desired tags. (#407) Thanks @McSim85 !

Added

  • Added additional validation at the front of the role to catch misconfigured variables. (#407) Thanks @McSim85 !

4.3.0

21 Dec 03:50
ede16c7
Compare
Choose a tag to compare

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.

New Contributors

4.2.3

09 Oct 15:45
679667b
Compare
Choose a tag to compare

Changed

  • Updated Python and GitHub Action dependencies

4.2.2

31 May 14:16
bc0d563
Compare
Choose a tag to compare

Fixed

  • Fixed a typo introduced in #328 that broke redaction of the authkey in the Report non-sensitive stdout from "tailscale up" step. (#344) Thanks @jonvmey !

New Contributors