artis3n / ansible-role-tailscale

Ansible role to install and configure a Tailscale node.
https://galaxy.ansible.com/artis3n/tailscale
MIT License
355 stars 57 forks source link

[FEAT] Handle all `up` flags as role variables #408

Open artis3n opened 7 months ago

artis3n commented 7 months ago

We're up to 3 or so exceptions to tailscale_args, where some flags are handled by dedicated variables in this role and most are not. This is confusing behavior. Originally, tailscale_args was set up this way because the Tailscale CLI was new and undergoing rapid development and there wasn't a guarantee that flags would be stable. This is no longer the case, and supporting all flags as arguments to this role would simplify usage and "Ansible-ize" the rest of the parameters.

Edit July 2024, starting on this:

Please comment on this issue and get sign-off from @artis3n before making PRs for any of these flags. I have an idea how I want this to work and I welcome contributions for it, but I don't want you to waste effort!

Flags that will become input variables to this role:

artis3n commented 2 weeks ago

Going to start thinking about this more actively. Collected current list of flags from https://tailscale.com/kb/1241/tailscale-up in the description.