Hi Alan,

Extend the list of "category_names" to include more or less all and any
possible category.

What happens when you run the playbook, is that it only lists and installs
the ones that you states in the "category_names", whereas the Windows
Update in your clients will search for all and anything it can. Hence, you
might not have installed all updates that are available.

For example, for our Windows 2016 servers, we use the list:

       category_names:

          - Application

          - Connectors

          - CriticalUpdates

          - DefinitionUpdates

          - DeveloperKits

          - FeaturePacks

          - Guidance

          - SecurityUpdates

          - ServicePacks

          - Tools

          - UpdateRollups

          - Updates

I wish you a nice day!
//magnus


On Fri, Jul 24, 2020 at 6:07 PM Alan Woods <alan.wood...@gmail.com> wrote:

> Hello, I am trying to install windows updates with Ansible and for some
> reason it is not working. This is what I have so far.
>
> My PlayBook
>
> [image: My playbook.png]
>
> This is the results after the play runs:
>
> [image: Results after it runs.png]
>
>
>
> Then when I go to the windows 10 machine this is what I see when i look at
> the updates:
>
> [image: windows 10 update.png]
>
>
> I am not sure if I maybe am not covering the correct category or what. I
> have also tried to upgrade a 1803 windows 10 to 1909 with no avail. Can
> anyone help me with getting ansible to be able to update windows.
>
>
>
> The account I am using is a admin on the windows 10 machine. I also have
> another play book that uses the win_chocolatey module to install Apps and
> it installs them fine. So, I don’t think this can be a permission issue.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-devel/8fcb4661-ddbe-4a46-b431-cb8bfb8b24e9o%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-devel/8fcb4661-ddbe-4a46-b431-cb8bfb8b24e9o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/CACOXixQezgbO6M8VFCWNmZ1N9QQKmJ2Efsxz5-Mo8S6JU_t5ww%40mail.gmail.com.

Reply via email to