I'm using ansible to apply configuration on a few servers which have their 
ssh key configured with the "no-pty" option, and I'm attempting to work out 
the best configuration settings to use with ansible on them.

I can use the "paramiko" transport after enabling "pty=False" in the 
configuration file and all of my playbooks execute without issue.

The documentation indicates that pipeline mode isn't allocating a pty, but 
not all tasks seem to run without asking for a pty. I see in the source for 
the ssh transport that there is an explicit passing of "-tt" in some cases 
(likely not ones covered by pipeline mode?), but I've not fully understood 
why.

Would it be possible to implement a similar flag to the pty=False for the 
normal ssh transport, or is there a reason to explicitly request a tty for 
some connections?

I'd like to be able to take advantage of the ssh transport (and pipeline 
mode) if possible, but obviously I can fall back to paramkio if there is no 
other option.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/16b865ba-2aa2-429a-9573-b94e13fbef67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to