Ansible role to install and configure a Tailscale node.
MIT License
Bot releases are hidden (Show)
Published by artis3n over 2 years ago
state: absent
Published by artis3n over 2 years ago
This release adds support for maintaining state between multiple invocations of this role.
If the arguments to tailscale up
change (tailscale_up_args
input parameter), the role will re-run the command.
Previously, the role ran up
once and would not re-run unless the force
input parameter was applied, and in that case up would just run every time.
Now there is true idempotency!
This release also massively improves upon the insecurely_log_authkey
input parameter, which was previously the only way to get stdout/stderr results from tailscale up
inside the role. Now, any stdout/stderr output from tailscale up
will be reported to the user before failing the task (if an error had occurred). Since the --authkey
value is printed in stderr upon an error, the role will automatically redact authkey values from stderr before printing. If the raw authkey value is desired, you can still set insecurely_log_authkey
to true
to view the un-redacted stderr.
tailscale_auth_key
is now tailscale_authkey
insecurely_log_auth_key
is now insecurely_log_authkey
force
variable is removed, as its use case is now handled by idempotent state managementPublished by artis3n over 2 years ago
Published by artis3n over 2 years ago
Published by artis3n almost 3 years ago
Published by artis3n almost 3 years ago
insecurely_log_authkey
input parameter to conditionally allow end users to view error log output from the "Bring Tailscale Up" commandubuntu:20.10
docker container can no longer run apt update
as The repository 'http://archive.ubuntu.com/ubuntu groovy Release' does not have a Release file
. Ubuntu 20.10 entered EOL in July 2020.Published by artis3n almost 3 years ago
tailscale up
command to improve the speed of authentication failures. Closes #142Published by artis3n about 3 years ago
Published by artis3n about 3 years ago
vars
with defaults
. (#129 per @Ramblurr)Published by artis3n about 3 years ago
Published by artis3n over 3 years ago
Published by artis3n over 3 years ago
verify
tasks during CI testing are updated to account for new behavior in Tailscale 1.8.5Published by artis3n over 3 years ago
tailscale status
now returns an exit code and differing stdout
message depending on the status. Fixed the conditional checks around status
to support the new behavior. See #97 for details.Published by artis3n over 3 years ago
Published by artis3n over 3 years ago
hello.ipn.dev
is now hello-ipn-dev
, which broke the CI checks. That is now fixed.force
variable for users that want to ensure tailscale up
runs every time the role is invoked. This can be helpful if you change the arguments passed to up
and want to re-run the role and apply the new settings.Published by artis3n over 3 years ago
tailscale_up_skip
variable which can replace tailscale_auth_key
. If tailscale_up_skip
is present, the role will install Tailscale onto a system but will not run the tailscale up
command to authenticate the node to your network. This is designed for build systems, such as AMI creation, where Tailscale should be packaged in but should not yet be added to the network.yamllint
from the CI processPublished by artis3n almost 4 years ago
tailscale status
response, which broke this role. This release fixes that behavior and the role will correctly start up Tailscale again.verbose
parameter to the role for verbose output in key areas without needing to run -vvv
on the entire ansible playbook. Helpful for troubleshooting and for submitting an issue to this repository.Published by artis3n almost 4 years ago
Added support for Ubuntu 20.10
Published by artis3n about 4 years ago
Missing some ansible_distrubtion
variables when adding PopOS support, so installation wouldn't work on 1.6.0. That is now fixed.
Published by artis3n about 4 years ago
PopOS is now supported.