Friday, October 21, 2016

Ansible : tuning SSH timeout

Issue: Sometime we need extra wait time for Ansible host to establish SSH connection with target client

msg: Timeout (12s) waiting for privilege escalation prompt

Solution:

Modify /etc/ansible/ansible.cfg

By Default SSH timeout is set to 10 sec and python module will add 2 more seconds

timeout = 10

No comments:

Post a Comment