Makes sense. I'm not really too concerned about the speed, so I'll leave it 
alone. Thanks for the explanation.


On Tuesday, May 6, 2014 5:04:13 PM UTC-7, Michael DeHaan wrote:
>
> So, pipelining mode is only usable if you are using the SSH connection 
> type (-c ssh), so I'd first check to make sure you are running on a system 
> where that is the default -- i.e. not Enterprise Linux (RHEL, CentOS, etc).
>
> You've mentioned you are using RHEL, so this has to be explicitly 
> requested, which is not the default -- and due to lack of ControlPersist on 
> this platform (which is why -c ssh is not the default there but is 
> everywhere it's available) it may not be as performant.
>
> So, by default, your EL system is still using paramiko, which I hope 
> explains things.
>
> The other case is if your playbook uses "su" (not sudo), in which case 
> pipelining is explicitly disabled due to technical limitations.
>
> (I'd recommend maybe considering running from a Fedora -- or even Ubuntu 
> -- host if you want it full-on optimized)
>
>
>
> On Tue, May 6, 2014 at 7:11 PM, Jacob Weber <weber...@gmail.com<javascript:>
> > wrote:
>
>> > commenting out "Defaults requiretty" in the source and destination 
>> hosts
>>
>> FYI, this refers to the sudoers file. I also tried "Defaults 
>> !requiretty", and the speed was the same.
>>
>>
>>
>> On Tuesday, May 6, 2014 4:07:03 PM UTC-7, Jacob Weber wrote:
>>>
>>> Hello. I just tried enabling ssh pipelining in Ansible 1.6, by doing 
>>> this:
>>>
>>> - commenting out "Defaults requiretty" in the source and destination 
>>> hosts
>>> - adding "pipelining = True" to /etc/ansible.cfg
>>>
>>> I timed a playbook with about 100 plays, a few times before and after, 
>>> and it took around 1:05 each time. Is there anything else I need to try? 
>>> Both hosts are on RHEL 6.4.
>>> Thanks.
>>>
>>  -- 
>> 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 ansible-proje...@googlegroups.com <javascript:>.
>> To post to this group, send email to ansible...@googlegroups.com<javascript:>
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/634627d6-cac5-40ad-a2ac-37fe3a655061%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/634627d6-cac5-40ad-a2ac-37fe3a655061%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/71990a5b-a219-4db0-85af-9c50f152b0c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to