Report this

What is the reason for this report?

Can we configure Ansible to connect to self-hosted linux servers that run behind netscaler load balancers?

Posted on August 31, 2020

Hi, Thanks for your article. I have a self-hosted dockerswarm servers set-up that are running behind the netscaler load balancers.

In general scenarios, we provide SSH credentials to connect to remote servers. But, could you please help me if we can connect to the self-hosted docker manager node (Linux) machine that run behind load balancers.

These are not exposed to outside internet directly.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there @sravsdino,

It should be OK to use Ansible to manage a self-hosted server. All that it needs is an SSH connection. The configuration change will not be on the Ansible side but on your self-hosted setup. This would depend on your Network topology, but you need to either expose your Docker manager node via SSH to the world or use a VPN to allow connections to it so that your Ansible server could connect.

Another option would be to have your Ansible server hosted on the same network as your Docker manager node so that you would not have to expose SSH.

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.