Hello, I am searching which packages are available to install on windows using win_update module. for example I am getting 3 package name.
I want print them like below. ServerName Patch Details serverA 2019-08 Security Only Quality Update for Windows Server 2012 R2 for x64-based Systems (KB4512489) serverA 2020-06 Security Monthly Quality Rollup for Windows Server 2012 R2 for x64-based Systems (KB4561666) serverA 2019-07 Security Only Quality Update for Windows Server 2012 R2 for x64-based Systems (KB4507457) i am using below template. ------------------------------ <table id="table" border = "1" cellpadding = "5" cellspacing = "5"> <thead> <th>Server Name</th> <th>Patch Title</th> </thead> <tbody> <tr> <td> {% for (list_of_updates.updates| length) %} {{ inventory_hostname }} {% endfor %} </td> <td> {% for win_update in list_of_updates.updates | dict2items %} <li>{{ win_update.value.title }}</li> {% endfor %} </td> </tr> </tbody> Can you help me to get it. -- 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/2e77d6b1-eb56-4f74-889a-28634c0beb45o%40googlegroups.com.