Ansible role to install and configure a Tailscale node.
tailscale up
is now fixed. (#320) Thanks @mprasil !tailscale up
fails, the role will clear its state so that re-running the role will always run tailscale up
and re-save the state. The tailscale up
command is idempotent if all passed parameters remain the same, so this change will not break users, but may fix some erroneous failures to re-run tailscale up
in some edge cases.BREAKING CHANGE
: This role now adheres to https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html and stores state in $XDG_STATE_HOME/artis3n-tailscale
, or $HOME/.local/state/artis3n-tailscale
if that env var is not present. This is technically a breaking change as this role will report state as "changed" upon the next run even if no state has changed. After the first time in which the state migrates to this new location, the role will correctly report state idempotency again. #286$HOME/.artis3n-tailscale
will be removed from target machines the next time this role is run.community.general
collection directory from its Git URL. This has no impact on end users, but contributors to this role should no longer experience failing tests due to Galaxy timeouts.BREAKING CHANGE
: The vars/main.yml
variables have all been updated with a prefix to help prevent conflicting with other role's parameters. These variables are not intended to be modified by end users, but if any end users are modifying these variables, they will need to update their references. #284 Thanks @hollow !apt update
now set a cache expiration of one hour, to prevent this role from triggering false idempotency failures (#278). Thanks @mnaser for the PR and @dgibbs64 for raising!ansible_distribution_major_version
of pre-release Debian distros (#259)/usr/share/keyrings
instead of using the legacy apt-key
tool, which is deprecated in Ubuntu 22.04. This is backwards-compatible with earlier Ubuntu/Debian-based distributions. #249 Thanks @wormi4ok !latest
state, making the possible state
parameter values latest
, present
, or absent
. #239This role uses latest
by default to help ensure your software remains up-to-date and incorporates the latest security and product features. For users who desire more control over configuration drift, present
will not update Tailscale if it is already installed. Changes to tailscale_args will be applied under both latest
and present
; this parameter only impacts the version of Tailscale installed to the target system.