I would like to get the swarm manager node name or ip address from an host that is not part of the swarm.
The host is Jenkins and I have SSH keys configured to get access to every machine in the swarm, but to create a service I need to run the command on the manager.
What approach is the best to get one of the active swarm manager name or address?