I’m beginning to deploy Tailscale (on Linux) across a network of machines that I manage using Ansible. Adding the repository key/repository is easy, as is installing the package.
I’d like to be able to test from within an Ansible task two things:
Whether the node has been joined to a network or not
What the current set of flags are (preferably in JSON)
With this information I should be able to fully automate deployment and enrollment. Is this possible?