Hello, currently I try to wait for SSH on port 22 after reboot, however it 
will always fail with the following:

TASK: [upgrade | waiting for port after reboot] 
******************************* 

failed: [ev01.envisia.de -> 127.0.0.1] => {"failed": true, "parsed": false}

[sudo via ansible, key=ruehgsdwzotpficlvwsncstkhoouefbn] password: 


I have set this globally:

ansible_ssh_user: centos  # ansible 2.0: ansible_user

ansible_sudo: yes         # ansible 2.0: ansible_become

ansible_sudo_user: root   # ansible 2.0: ansible_become_user



This is my command:

- name: waiting for port after reboot

  local_action: wait_for host={{ inventory_hostname }} port={{ 
rolling_reboot_wait_port }} delay={{ rolling_reboot_wait_delay }} 
state=started

  tags: reboot


How could I fix that.

-- 
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/7e8a0c78-e096-41f1-9da3-2b60cf9e166e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to