Hello, Really need help: Want to iterate a block of codes on the kb list obtained in an debug o/p: task path: /tmp/win_patch_role/roles/win_patch_role/tasks/update.yml:36 ok: [vuhplabgtdev108] => { "update_count": { "changed": false, "failed": false, "filtered_updates": {}, "found_update_count": 1, "installed_update_count": 0, "reboot_required": false, "updates": { "0158cb9b-19d2-4c94-99e1-36ebbd244fc9": { "id": "0158cb9b-19d2-4c94-99e1-36ebbd244fc9", "installed": false, "kb": [ "3184943" ], "title": "Security Update for Windows Server 2012 (KB3184943)" } }
Howto achive the "kb": [ "3184943" ] Please help. i tried to do: - include_tasks: all_update_block.yml loop: "{{ update_count.updates.0.kb }}" but failed. -- 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 post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CALJDb0n--UUfK5dhoOYQ%3D5vVQStfJy9GYu7Vn6o8JuKKsE-KtA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.