I have tried multiple machines to download the updates but it's not working. *Playbook* * tasks:* * - name: Search and download Windows updates without installing them* * win_updates:* * state: downloaded* * win_reboot: true*
*Throwing error - * fatal: [EC2AMAZ-5TQR7L8.corp.medqia.com]: FAILED! => {"changed": false, "filtered_updates": {"ca3bb521-a8ea-4e26-a563-2ad6e3108b9a": {"categories": ["Feature Packs", "Silverlight"], "filtered_reason": "category_names", "id": "ca3bb521-a8ea-4e26-a563-2ad6e3108b9a", "installed": false, "kb": ["4481252"], "title": "Microsoft Silverlight (KB4481252)"}}, "found_update_count": 2, "installed_update_count": 0, "msg": "A reboot is required before more updates can be installed", "reboot_required": true, "updates": {"46de78a6-89c2-4adc-a827-d55e913ca853": {"categories": ["Security Updates", "Windows Server 2016"], "id": "46de78a6-89c2-4adc-a827-d55e913ca853", "installed": false, "kb": ["4534271"], "title": "2020-01 Cumulative Update for Windows Server 2016 for x64-based Systems (KB4534271)"}, "a4816cdf-d87e-4555-afa3-b839655fc564": {"categories": ["Update Rollups", "Windows Server 2016"], "id": "a4816cdf-d87e-4555-afa3-b839655fc564", "installed": false, "kb": ["890830"], "title": "Windows Malicious Software Removal Tool x64 - January 2020 (KB890830)"}}} *I have already enabled the command to reboot. why it's not rebooting ? I can't download or install anything through ansible.. kinda sucks* On Thursday, January 23, 2020 at 11:52:50 AM UTC-8, Dick Visser wrote: > > since it works for other hosts, the problem is related to that specific > host, not ansible. > There may be many reasons why it doesn't work. > Since ansible is just an automation tool, best to try an troubleshoot > things manually on that host. > > > On Thu, 23 Jan 2020 at 18:46, Work Email <workema...@gmail.com > <javascript:>> wrote: > >> *KB number upgrades/ security patches are not installing?* >> *Playbook* >> tasks: >> - name: Install all security, critical, and rollup updates without a >> scheduled task >> win_updates: >> category_names: >> - Upgrades >> - SecurityUpdates >> whitelist: >> - KB4494452 >> - *KB2267602* >> - KB4494452 >> state: installed >> register: update_result >> win_reboot: yes >> >> *For one of my server, it's still filtering out. I have provided >> KB2267602. it's not installing why ?* >> ok: [EC2AMAZ-3FFNIJH.CORP.MEDQIA.COM] => { >> "changed": false, >> "filtered_updates": { >> "1b20f24b-2b80-43cb-8511-4677f3915843": { >> "categories": [ >> "Definition Updates", >> "Windows Defender" >> ], >> "filtered_reason": "category_names", >> "id": "1b20f24b-2b80-43cb-8511-4677f3915843", >> "installed": false, >> "kb": [ >> "2267602" >> ], >> "title": "Security Intelligence Update for Windows Defender >> Antivirus - *KB2267602 *(Version 1.307.2889.0)" >> } >> }, >> PLAY RECAP >> *************************************************************************************************************************************** >> EC2AMAZ-3FFNIJH.CORP.MEDQIA.COM : ok=2 changed=0 unreachable=0 >> failed=0 skipped=0 rescued=0 ignored=0 >> MQN-CKMH5E31UM7.corp.medqia.com : ok=0 changed=0 unreachable=1 >> failed=0 skipped=0 rescued=0 ignored=0 >> jimmy.corp.medqia.com : ok=2 changed=0 unreachable=0 >> failed=0 skipped=0 rescued=0 ignored=0 >> mqn-huddlermpc.corp.medqia.com : ok=2 changed=0 unreachable=0 >> failed=0 skipped=0 rescued=0 ignored=0 >> >> -- >> 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 ansible...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/adea7788-cccd-4baf-8f63-31a139c987ea%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/adea7788-cccd-4baf-8f63-31a139c987ea%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > Sent from a mobile device - please excuse the brevity, spelling and > punctuation. > -- 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2545df24-94a7-4a28-a65d-e57309cb27d9%40googlegroups.com.