title: get ansible to wait for ssh connection
body: <p>How do you get ansible to wait or retry ssh connections? I have an ansible tsk that runs <code>govc</code> to upload a vm into vcenter but right after that I ssh into the machine to run commands like this:</p>
  
  <pre><code>  hosts: vcenter
    gather_facts: false
    tasks:
      - name: Download GOVC
        get_url:
          url: https://github.com/vmware/govmomi/releases/download/v0.20.0/govc_linux_amd64.gz
          dest: /home/gkeadmin/govc_linux_amd64.gz
  </code></pre>
  
  <p>but doing it right after I get this: <code>fatal: [139.178.66.91]: UNREACHABLE! =&gt; {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host 1.2.3.4 port 22: Operation timed out", "unreachable": true}</code></p>
  
  <p>I rerun it again with the <code>--retry</code> command and then it continues. Seems like it just needs sometime before I can connect via ssh...how do I wait for an ssh connection to get established in ansible?</p>