Just found out when I run windows update manually on the machine, there were 3 updates that ansible didnt report back?
why is that On Thu, May 14, 2020 at 9:49 AM Tony Wong <[email protected]> wrote: > I am not sure what it should be > > I logged everything to a file and doesnt look like any updates but still > getting this error > > > TASK [Reboot host if required] > ****************************************************************************************** > fatal: [10.50.1.231]: FAILED! => {"changed": false, "msg": "Invalid > options for win_reboot: when"} > > > > log on my win host: > > > 2020-05-14 09:47:08Z WUA is available in current logon process, running > natively > 2020-05-14 09:47:08Z Creating Windows Update session... > 2020-05-14 09:47:08Z Create Windows Update searcher... > 2020-05-14 09:47:08Z Setting the Windows Update Agent source catalog... > 2020-05-14 09:47:08Z Requested search source is 'default' > 2020-05-14 09:47:08Z Search source set to 'default' (ServerSelection = 0) > 2020-05-14 09:47:08Z Searching for updates to install > 2020-05-14 09:47:11Z Found 0 updates > 2020-05-14 09:47:11Z Creating update collection... > 2020-05-14 09:47:11Z Calculating pre-install reboot requirement... > 2020-05-14 09:47:11Z Native job completed with output: > Name Value > > > > ---- ----- > > > > updates {} > > > > found_update_count 0 > > > > changed False > > > > reboot_required False > > > > installed_update_count 0 > > > > filtered_updates {} > > > > > > > > On Wed, May 13, 2020 at 4:05 PM David Foley <[email protected]> wrote: > >> Again you seem to be missing vaules >> >> >> reboot: yes >> When: """ >> >> -- >> 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 view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/719f19da-9014-4fde-beaa-d97f6666c617%40googlegroups.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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CALmkhkrz076-7zGtvuO7hazFztTi9tCOYxORamY_%2BNzwrsfr3A%40mail.gmail.com.
