I also tried this one - doesn't work.

  - name: waiting for machine to come back
    local_action: wait_for host={{ ansible_ssh_host }} port={{ 
ansible_ssh_port }} delay=30 timeout=180

  #- pause: seconds=5

  - command: echo "X"
    register: status
    ignore_errors: True
    until: status != "X"
    retries: 5
    delay: 10

Same  {'msg': 'FAILED: Error reading SSH protocol banner', 'failed': True}

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/211f6dc8-d158-4b49-8c39-2da969404319%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to