I actually tried this and it didn't work. Later, found this post https://groups.google.com/forum/#!topic/ansible-project/xGGe6WADtH0
On Sun, Jan 8, 2017 at 10:01 PM, Dag Wieers <[email protected]> wrote: > On Wed, 4 Jan 2017, Danny Rehelis wrote: > > Anyone? :-( >> > > Never tried it myself, but wouldn't this work ? > > - include: update-windows.yml > until: <condition> > retries: 10 > > You will have to make sure that the condition is based on facts from the > tasks in your taskbook, which include win_updates and win_reboot. > > The only other option I see is to add win_reboot capabilities to > win_updates, which would be a shame if that's what is needed. > > -- > Dag > > -- > 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/ms > gid/ansible-project/alpine.LRH.2.20.1701082057130.19483%40pikachu.3ti.be. > > For more options, visit https://groups.google.com/d/optout. > -- Danny Rehelis - autogun [AT] gmail.com -- 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/CA%2BYXgSfthJRyiZDVb%2BJKH58Rbb%2BSdB5h9d2u74YOt7oS%2B4A8Qg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
