Hi all,

I used ansible-1.7.2, and I created this playbook to reboot and wait
until wakeup.

    - name: reboot
      shell: /sbin/reboot
    - name: wait for the server to go down
      local_action: wait_for host={{ inventory_hostname }} port=22 state=stopped

It works on RHEL6.  However, on RHEL 7 ansible-playbook is failed.

-----------
    TASK: [reboot] ******************************************************
    failed: [54.17x.xx.xx] => {"failed": true, "parsed": false}
    invalid output was: SUDO-SUCCESS-wwqfdthqxuqybxwolkxtnftpexn

    FATAL: all hosts have already failed -- aborting
-----------

when using async: 20  and poll: 0, this error has been occurred.

-----------
    TASK: [reboot]
****************************************************************
    failed: [54.17x.xx.xx] => {"failed": true, "parsed": false}
    invalid output was: SUDO-SUCCESS-ahqnoxxxbgeyjmmsawrhzozycqj

    ERROR: unexpected error: unable to determine jid
-----------

Is this systemd related problem?


Thank you,
WAKAYAMA Shirou

-- 
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/CANCK7KfQVC%3D99rE4aAScMJb%3Dr%2BFL%2BRrfLpUEhsTpi_Aq4zZ9Ng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to