Skip to content

3.0.0

Compare
Choose a tag to compare
@artis3n artis3n released this 16 Mar 02:25
· 224 commits to main since this release
549be60

Added

Idempotent state management

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!

Clearer stdout/stderr from tailscale up

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.

Changed

  • tailscale_auth_key is now tailscale_authkey
  • insecurely_log_auth_key is now insecurely_log_authkey
  • RHEL8 added to the CI test suite

Removed

  • force variable is removed, as its use case is now handled by idempotent state management