How to use parallel-ssh as transport in ansible controller it has better performance

62 views
Skip to first unread message

gunaseelan

unread,
Oct 13, 2019, 9:30:12 AM10/13/19
to Ansible Project
##### SUMMARY
How to use parallel-ssh as connection_plugin
will ansible agent support parallel-ssh rather then openssh/paramiko:

issue type: Query
ansible version:2.7.10
component name: Ansible connection plugin

Kai Stian Olstad

unread,
Oct 13, 2019, 11:26:00 AM10/13/19
to ansible...@googlegroups.com
On 13.10.2019 15:30, gunaseelan wrote:
> ##### SUMMARY
> How to use parallel-ssh as connection_plugin

Write a new connection plugin for parallel-ssh.


> will ansible agent support parallel-ssh rather then openssh/paramiko:

Unless you or someone else write a connection plugin I guess not, since
I highly doubt Ansible/RedHat would write one.


Before writing a connection plugin you should look into forks,
pipelining, free strategy and async to get better performance in
Ansible.

--
Kai Stian Olstad

Fernando Scarlazzari de Oliveira

unread,
Oct 14, 2019, 7:20:56 AM10/14/19
to ansible...@googlegroups.com
Isn't this equivalent to the SSH controlmaster feature on openssh?




--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f1a07ad23cd91cbe0fd9da45d8371065%40olstad.com.

Gunaseelan

unread,
Oct 15, 2019, 1:41:38 AM10/15/19
to ansible...@googlegroups.com
I mean eventhough ansible controller has forking and pipelineing concept with native ssh - seems to native ssh connection establishment will block IO operation that is reason parallel-ssh is good option and save time if controller wants to connect thousands of hosts Ref: https://github.com/ParallelSSH/parallel-ssh#ansible   



--
Thanks & Regards,
S Gunaseelan
09742571972


Reply all
Reply to author
Forward
0 new messages