On 17. aug. 2016 12:21, Bharath Bharadwaj wrote:
> Hi All,
>
> I have followed instructions on setting up bastion host from this article
> "
https://gagor.pl/2016/04/use-bastion-host-with-ansible/" while I'm able to
> connect to my cisco switch through bastion host from a command line by
> executing "ssh -F ssh_config bastion" from the playbook I can't make it go
> through the bastion host, it still continues to connect directly to the
> switch, attached below is my playbook.
>
> ---
>
> - hosts: gatewayed
> remote_user: root
> become: yes
> connection: local