ansible - widows patching

37 views
Skip to first unread message

Vandana Thakur

unread,
May 21, 2019, 11:35:35 PM5/21/19
to : Ansible Project
Hello,

I am trying to perform windows update.
is it possible to do  windows patch (download only) to wsus client.
and windows patch (install only) to wsus client.

Thanks

Seth Daemen

unread,
May 23, 2019, 12:49:16 AM5/23/19
to Ansible Project
What do you mean exactly with your question?
We do a lot of Windows patching with Ansible

Vandana Thakur

unread,
May 23, 2019, 12:53:44 AM5/23/19
to : Ansible Project
Hello,

Thanks for the response.
I  am trying to automate windows patching with help of  ansible playbooks.
I  was adding  a scenario in playbook  that:
a) Only download the patch on WSUS client  --pending
b) Only install the patch on WSUS client   --pending
c) Downlod and  install the patch on WSUS client --done

How to achieve  steps 2 and  3 via playbooks.


Thanks!!


On Thu, May 23, 2019 at 10:19 AM Seth Daemen <daeme...@gmail.com> wrote:
What do you mean exactly with your question?
We do a lot of Windows patching with Ansible

--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/578d37fa-1976-4596-81cc-41dc5c496516%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vandana Thakur

unread,
May 27, 2019, 1:18:04 AM5/27/19
to Seth Daemen, : Ansible Project
Hello,

I  am yet trying to download only the windows patches on client.
Is there any power shell snippet or module in ansible to do the same.

Thanks

On Thu, May 23, 2019 at 11:45 AM Seth Daemen <daeme...@gmail.com> wrote:
Option A is on my to do. But I have to find out how.
Because it is nog a default task from the win_updates module in Ansible.
On the newer OS we can mayba something with the usoclient.exe and the startdownload parameter
Otherwhise we something to do with bittransfer service or com api to windows updates

Op do 23 mei 2019 om 07:13 schreef Vandana Thakur <vanda...@gmail.com>:
Okey, If option b) is  not possible .
how  can we  do option a) with help of  playbooks.?

Thanks 

On Thu, May 23, 2019 at 10:32 AM Seth Daemen <daeme...@gmail.com> wrote:
Door downloading only I want toen make also a playbook

Niet we have a gpo with says download approved updates at night buy dont install Them

Option b only install is nooit possible I think because Windows update does automatic downloading alle approved patches when they are not available on the client.


Op do 23 mei 2019 06:54 schreef Vandana Thakur <vanda...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages