You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sounds like a nice idea, I've also had situations where two different systems had the same hostname e.g. my main system and my Raspberry Pi, but this feature needs to be more specified before actually implementing it.
Feature Specification Notes
Evaluate which reliable and stable method should be used to receive the OS type. It must work for all common OS, including platforms like a Raspberry Pi (ARM).
Evaluate a way to safely fallback when the OS could not be detected
How to handle configurations where both hosts and os keys are present?
Handle via hierarchical order (os takes preference over hosts)?
Evaluate to integrate the feature into the existing hosts option e.g. optionally allow any key of hosts to provide an array instead of a string where the second index can include the OS types.
Hello,
Currently with the
hosts
option in thelink
task I can differentiate Linux and MacOS only if I enter specific hostname for each of my machines.It would be a nice feature to keep the same system but to allow differentiation of the OS.
Here is an example:
It could be used to have different path depending on the operating system too:
The text was updated successfully, but these errors were encountered: