Running Ansible Through an SSH Bastion Host
This post will expand on some previous posts—one showing you how to set up and use an SSH bastion host and a second describing one use case for an SSH bastion host—to show how the popular configuration management tool Ansible can be used through an SSH bastion host.
The configuration/setup required to run Ansible through an SSH bastion host is actually reasonably straightforward, but I saw a lot of incomplete articles out there as I was working through this myself. My hope is to supplement the existing articles, as well as the Ansible documenation, to make this sort of configuration easier for others to embrace and understand.
Prerequisites
There are two key concepts involved here that you’ll want to be sure you understand before you proceed:
- You’ll want to make sure you’re comfortable with using an SSH bastion host. If you don’t understand how this works or how to set it up, I recommend you spend some time on this topic first, as it’s crucial to how Ansible will behave/function. This article by Grant Taylor has some good information.
- Spend some time making sure you know how to use SSH multiplexing. This is useful for Ansible in general, but Continue reading
Acacia Communications is going public in the tough world of optical networking modules.
Juniper didn't come through for SDxCentral analyst Scott Raynovich, but John Chambers did.
After patiently raising $312M, Nutanix says it's time to take this data-center 'war' public.