On Monday, 4 December 2017 05.35.20 CET area0 wrote: > One last request; what's the best way to get the users confirmation before > continuing further with the playbook? I'd like to be able to say, "host1 > has 6 updates available. > - KB: Update for Windows Server 2012 R2 (KB3013769) > - KB: Update for Windows Server 2012 R2 (KB3102429) > - KB: Update for Windows Server 2012 R2 (KB3013816) > - KB: Update for Windows Server 2012 R2 (KB3084905) > - KB: 2017-11 Preview of Monthly Quality Rollup for Windows Server 2012 R2 > for x64-based Systems (KB4050946) > - KB: Windows Malicious Software Removal Tool for Windows 8, 8.1, 10 and > Windows Server 2012, 2012 R2, 2016 x64 Edition - November 2017 (KB890830) > > "Do you wish to install all updates(y/n)?". If the user presses y, the > playbook will continue and complete the install + reboot. If the user > presses n, the playbook will exit. > > I've tried prompts, var_prompts etc; none of which achieve what i'm looking > for. > > Any advice?
I think the only option is the pause module. -- Kai Stian Olstad -- 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/1849390.LP0fmSLZiH%40x1. For more options, visit https://groups.google.com/d/optout.
