ansible-role-tailscale icon indicating copy to clipboard operation
ansible-role-tailscale copied to clipboard

[FEAT] Optionally, don't always upgrade tailscale to the latest version

Open relrod opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

I would like to be able to run this role and ensure all the configuration is in place and so on, but not necessarily have the package upgraded to the latest version unexpectedly.

Basically I would like the change in #116 to be optional, controlled by a variable.

Describe the solution you'd like I'd like to be able to control if tailscale gets installed with state: latest or state: present, by setting a variable.

Describe alternatives you've considered N/A

Additional context My current usecase is that I run a playbook in check mode (automated) to check for configuration drift. I would like that playbook to not complain about a change just because there is a new release (which would get installed, and is currently legitimate configuration drift).

In some places it is fine, but on production systems, I like to sometimes do updates in batches and have control over them myself.

Thanks for the awesome work maintaining this, by the way. This is such a useful role.

relrod avatar Sep 12 '22 10:09 relrod

I am going to leave state: latest as the default behavior, but I agree! This should be configurable.

artis3n avatar Sep 14 '22 03:09 artis3n

@artis3n thank you for this, you're awesome!

relrod avatar Oct 09 '22 05:10 relrod