Ah, yes, logPath is set (I really need to read more carefully).  This is 
what's recorded in c:\ansible-playbook.log:

2015-09-08 05:17:20.-04 Looking for updates in 'security'
2015-09-08 05:17:38.-04 Installing 3080333 - Security Update for Microsoft 
Silverlight (KB3080333)
2015-09-08 05:17:53.-04 Installing 3078071 - Cumulative Security Update for 
Internet Explorer 11 for Windows Server 2008 R2 for x64-based Systems 
(KB3078071)
2015-09-08 05:18:07.-04 Installing 3075226 - Security Update for Windows 
Server 2008 R2 x64 Edition (KB3075226)
2015-09-08 05:18:21.-04 Installing 3079757 - Security Update for Windows 
Server 2008 R2 x64 Edition (KB3079757)
2015-09-08 05:18:35.-04 Installing 3072305 - Security Update for Microsoft 
.NET Framework 3.5.1 on Windows 7 SP1 and Windows Server 2008 R2 SP1 for 
x64 (KB3072305)
2015-09-08 05:18:49.-04 Installing 3046017 - Security Update for Windows 
Server 2008 R2 x64 Edition (KB3046017)
2015-09-08 05:19:02.-04 Installing 3060716 - Security Update for Windows 
Server 2008 R2 x64 Edition (KB3060716)
2015-09-08 05:19:16.-04 Installing 3071756 - Security Update for Windows 
Server 2008 R2 x64 Edition (KB3071756)
2015-09-08 05:19:31.-04 Installing 3076895 - Security Update for Windows 
Server 2008 R2 x64 Edition (KB3076895)
2015-09-08 05:19:45.-04 Installing 3076949 - Security Update for Windows 
Server 2008 R2 x64 Edition (KB3076949)
2015-09-08 05:19:58.-04 Installing 3078601 - Security Update for Windows 
Server 2008 R2 x64 Edition (KB3078601)
2015-09-08 05:20:12.-04 Installed: 11
2015-09-08 05:20:32.-04 
2015-09-08 05:20:32.-04 Reboot required

The bulk of my test servers are running Windows Server 2008 R2.

On Wednesday, September 2, 2015 at 12:57:51 PM UTC-4, Dimitri Yioulos wrote:
>
> I'm trying to use the extras module win_updates to update my Windows 
> servers.  The play runs without failure, but no updates are applied.
>
> Ideally, I want the install all available updates (e.g. critical, 
> important, optional, etc.).  I've created a play to look like this:
>
> ---
>
> - hosts: windows
>   gather_facts: true
>
>   tasks:
>   - name: win update
>     win_updates:
>        category: security
>
> What do I need to do to make this install the updates, and how to I 
> install all available updates?
>
> Thanks.
>
> Dimitri
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0f02980a-12ba-4802-ae46-9a4c12b69f4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to