shirou
unread,Oct 3, 2014, 4:04:07 AM10/3/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
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