On Tuesday, October 3, 2017 at 11:31:57 AM UTC-4, Kai Stian Olstad wrote:
>
> On 03. okt. 2017 17:14, leam hall wrote: 
> > Which should call playbooks/roles/reboot/tasks/main.yml: 
> > 
> https://github.com/LeamHall/Ansible_Test/blob/master/playbooks/roles/reboot/tasks/main.yml
>  
> > 
> > - name: reboot_and_wait_for 
> >   include: reboot_node.yml 
> >   include: wait_for.yml 
> >   include: debug.yml 
> > 
> >   with_items: 
> >     - "{{ hosts }}" 
> You can't have 3 includes in 1 task, you will need to split them into 3 
> separate tasks. 
>
>
Kai, thanks! The issue is that I'm really struggling to get the "wait_for" 
to work. I need to have the rebooted machine up before I boot the next one. 
Any good pointers to docs? Ansible docs say it can be done but don't seem 
to show you how.

 Leam

-- 
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/ae99959b-e7bf-4394-9e39-573692c060bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to