Hello I am wandering if this ever got resolved. I am also running a play
book to upgrade a windows 10 box to 1909. The play book seems to run fine
it says there were changes the windows 10 box re-boots several times but at
the end it is not upgraded. I tried the play from this post which was:
- name: ensure Windows 10 has 1909 feature upgrade installed
win_updates:
category_names:
- Upgrades
whitelist:
reboot: yes
with out the KB and it ran for hours but the windows 10 box was never
updated. I also run a playbook to find what updates are needed and it keeps
finding these:
{
"updates": {
"ac2b20ab-6186-4267-8d55-4b3ca35197d1": {
"categories": [
"Upgrades"
],
"title":
"Feature
update to Windows 10, version 1909",
"id":
"ac2b20ab-6186-4267-8d55-4b3ca35197d1",
"installed"
: false,
"kb": [
"4560960"
]
}
},
"found_update_count": 1,
"changed": false,
"reboot_required": false,
"installed_update_count": 0,
"filtered_updates": {
"f9d81e60-32f2-41f3-b553-2261ff953ee8": {
"id": "f9d81e60-32f2-41f3-b553-2261ff953ee8",
"filtered_reason": "category_names",
"title": "Security Intelligence Update for Microsoft Defender Antivirus -
KB2267602 (Version 1.319.975.0)",
"categories": [
"Definition Updates",
"Microsoft Defender Antivirus"
],
"kb": [
"2267602"
],
"installed": false
}
if you were able to resolve this and get the system upgraded to 1909 I
would love to know how. I also started a topic on this here that shows teh
playbook I was using I have changed it several times to see if I can get it
working to no avail-
https://groups.google.com/forum/#!searchin/ansible-project/windows$2010$20upgrades|sort:date/ansible-project/GhF7VndaQWU/_F9eVDaIBQAJ
On Wednesday, January 22, 2020 at 11:39:36 AM UTC-8, Jimmy wrote:
>
> Nothing changed on the target host, not even rebooted but able to ping and
> can do a handshake
> Playbook -
>
> PLAY [windows]
> *************************************************************************************************************************************************************
>
> TASK [Gathering Facts]
> *****************************************************************************************************************************************************
> ok: [MQN-CKMH5E31UM7.corp.medqia.com]
>
> TASK [Install all security, critical, and rollup updates without a
> scheduled task]
> *****************************************************************************************
> ok: [MQN-CKMH5E31UM7.corp.medqia.com]
>
> TASK [Install only security updates as a scheduled task for window
> machines]
> ***********************************************************************************************
> ok: [MQN-CKMH5E31UM7.corp.medqia.com]
>
> TASK [Install only particular updates based on the KB numbers]
> *************************************************************************************************************
> ok: [MQN-CKMH5E31UM7.corp.medqia.com]
>
> TASK [Install all security updates with automatic reboots]
> *****************************************************************************************************************
> ok: [MQN-CKMH5E31UM7.corp.medqia.com]
>
> TASK [Ensure WinRM starts when the system has settled and is ready to work
> reliably]
> ***************************************************************************************
> ok: [MQN-CKMH5E31UM7.corp.medqia.com]
>
> PLAY RECAP
> *****************************************************************************************************************************************************************
> MQN-CKMH5E31UM7.corp.medqia.com : ok=6 changed=0 unreachable=0 failed=0
> skipped=0 rescued=0 ignored=0
>
> Playbook contents =
> hosts: windows
> vars:
> ansible_connection: winrm
> ansible_ssh_port: 5986
> anisble_winrm_transport: kerberos
> ansible_winrm_server_cert_validation: ignore
> validate_certs: false
> ansible_winrm_scheme: https
> ansibe_winrm_read_timeout_sec: 120
> tasks:
> name: Install all security, critical, and rollup updates without a
> scheduled task
> win_updates:
> category_names:
>
> - SecurityUpdates
> - CriticalUpdates
> - UpdateRollups
>
> name: Install only security updates as a scheduled task for window machines
> win_updates:
> category_names: SecurityUpdates
> use_scheduled_task: yes
>
> name: Install only particular updates based on the KB numbers
> win_updates:
> category_name:
>
> SecurityUpdates
> whitelist:
> KB4528760
> KB890830
> KB4534271
> KB22677602
> name: Install all security updates with automatic reboots
> win_updates:
> category_names:
>
> SecurityUpdates
> reboot: yes
> name: Ensure WinRM starts when the system has settled and is ready to work
> reliably
> win_service:
> name: WinRM
> start_mode: delayed
>
--
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/e8af7c37-01d1-40ea-a478-0738954bd38eo%40googlegroups.com.