Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you have connection pipelining enabled?:

[ssh_connection] pipelining = True

Ansible 2 is extremely fast for me.



Yes, pipelining is on. I've been doing some further testing and I suspect some of the nested roles we're using are the source of the slowness, because for simple playbooks and simple tasks, the speed is comparable (Ansible 1.9 still comes in a little faster, unless I enable the `free` strategy in 2.0).


But then you have to disable requiretty in /etc/sudoers or some commands will fail. E.g. synchronize.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: