ansible by default tries to use control persist (you can turn this off
in ansible.cfg) if using a new enough version of openssh as it speeds
things up considerably.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this grou
So, allthough I have not specified ControlPersist in the playbook, nor in
.ssh/config , when I reconnect to the machine in a short enough time and
run the playbook to server 3, the ssh tunnel is still open and will be used
by Ansible?
So what I want, is probably, a way to close the tunnel when
Check to see if you still have the control persist sockets open,
ansible will reuse those and the forwarding settings will be the ones
used to create the socket, so if created with -A, forwarding will
continue to work.
--
Brian Coca
Stultorum infinitus est numerus
0111011100100110010101101110
Hi
On Wed, Oct 01, 2014 at 03:48:52AM -0700, Mark wrote:
> So I'm running 3 CentOS 6.5 machines and came upon this thing which I don't
> understand.
>
> server 1: client machine
> server 2: ansible machine
> server 3: any target machine controlled by ansible.
>
> server 2/3 both have my public k
I'm not sure if I can make it any clearer than this.
Server 1 has the private key. Server 2 and 3 have the public key of server 1
If I connect to server 3 from server 1 through server 2 I would need to use
ssh -A, since it needs to take my key from server 1, through 2 to 3.
This is done through S
I'm having a bit of difficulty following the above, but I did want to point
out that ansible is not doing anything to move/store your key.
On Wed, Oct 1, 2014 at 6:48 AM, Mark wrote:
> So I'm running 3 CentOS 6.5 machines and came upon this thing which I
> don't understand.
>
> server 1: clien
So I'm running 3 CentOS 6.5 machines and came upon this thing which I don't
understand.
server 1: client machine
server 2: ansible machine
server 3: any target machine controlled by ansible.
server 2/3 both have my public key. so when I ssh to them from server 1, it
all goes well.
I ssh from s