ansible bastion host with passwords only

92 views
Skip to first unread message

Kelly Goedert

unread,
Dec 16, 2015, 1:15:31 PM12/16/15
to Ansible Project
Hi,

I just started using ansible and so far it works nice. I was able to create playbooks and execute them without any problems when I have a direct access to the server where I need the commands to be run.

Now I have a situation where I need from my machine, I will call it machine A, connect to machine B and from machine B connect to machine C, which is where the commands should actually run.

ssh keys are not an option. I can't import keys from one machine into the other. I don't have .pem files to use. I am restricted to *passwords only*.

Can I do this using ansible?

but I still cannot connect from machine B to machine C.

I found some posts here in the forum that used other parameters on the proxycommand like 'nc'.

I am using ansible 1.9.4 on a ubuntu box.

Thanks for any help.

Kelly
Reply all
Reply to author
Forward
0 new messages