Regarding Ansible connection time out error

Hi All,

How to write ansible playbook if we can connection time out error from Ansible to the required host?