Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- win_updates documentation:
- http://docs.ansible.com/win_updates_module.html
- Play run from CLI:
- ansible 1PointWeb -m win_updates -a category:security <-- it could be that i don't have the argument correct. all of the waiting updates are of the category "security". Note that the default is "critical". So, if I don't have the argument correct, then maybe it's going to the default "critical", of which there are none.
- Output from play (sorry, this is long):
- 1PointWeb | success >> {
- "changed": true,
- "updates_already_present": [
- "2506014",
- "2506212",
- "2511455",
- "2509553",
- "2506928",
- "2533552",
- "2544893",
- "2536275",
- "2545698",
- "2547666",
- "2552343",
- "982018",
- "2536276",
- "2563227",
- "2560656",
- "2570947",
- "2564958",
- "2603229",
- "2620704",
- "2607047",
- "2636573",
- "2656356",
- "2631813",
- "2585542",
- "2654428",
- "2643719",
- "2660075",
- "2640148",
- "2621440",
- "2608658",
- "976932",
- "2653956",
- "2604115",
- "2676562",
- "977238",
- "981391",
- "977236",
- "2386667",
- "981392",
- "2690533",
- "2718704",
- "2685939",
- "2709981",
- "2667402",
- "2698365",
- "2712808",
- "2719857",
- "2732059",
- "2705219",
- "2729094",
- "981111",
- "981390",
- "977239",
- "2750841",
- "2763523",
- "2761217",
- "2729452",
- "2685811",
- "2685813",
- "2706045",
- "2719033",
- "2716513",
- "2765809",
- "2758857",
- "2770660",
- "2742599",
- "2736422",
- "2786081",
- "2726535",
- "2789645",
- "2807986",
- "2791765",
- "2670838",
- "2823180",
- "2813347",
- "2840149",
- "2820331",
- "2798162",
- "2839894",
- "2813430",
- "2835361",
- "2832414",
- "2840631",
- "2862966",
- "2574819",
- "2592687",
- "2853952",
- "2868116",
- "2872339",
- "2847311",
- "2868038",
- "2864202",
- "2864058",
- "2861698",
- "2862335",
- "2861191",
- "2882822",
- "2884256",
- "2888049",
- "2808679",
- "2900986",
- "2868626",
- "2862152",
- "2893519",
- "2515325",
- "2647753",
- "2841134",
- "2892074",
- "2893294",
- "2913152",
- "2891804",
- "2887069",
- "2862330",
- "2912390",
- "2862973",
- "2911501",
- "2836942",
- "2836943",
- "2830477",
- "2843630",
- "2919469",
- "2923545",
- "2929733",
- "2922229",
- "2908783",
- "2928562",
- "2841134",
- "2852386",
- "2871997",
- "2926765",
- "2931356",
- "2957189",
- "2800095",
- "2939576",
- "2957503",
- "2957509",
- "2961072",
- "2973351",
- "2966583",
- "2973201",
- "2937610",
- "2943357",
- "2918614",
- "2976897",
- "2978668",
- "2980245",
- "2993651",
- "2972211",
- "2978092",
- "2973112",
- "2977728",
- "2894844",
- "2972216",
- "2985461",
- "2968294",
- "2970228",
- "2972100",
- "2972107",
- "2977292",
- "2979570",
- "2979578",
- "2984972",
- "2984976",
- "2984981",
- "2994023",
- "2991963",
- "2978128",
- "3005607",
- "3006226",
- "3010788",
- "2978120",
- "3003743",
- "2993958",
- "3008627",
- "3011780",
- "2992611",
- "3014406",
- "3013410",
- "3006625",
- "3024777",
- "3025390",
- "2901983",
- "3014029",
- "3020388",
- "3022777",
- "3020393",
- "3021674",
- "3004394",
- "3020338",
- "890830",
- "3031432",
- "3004375",
- "3021952",
- "3013455",
- "3023562",
- "3004361",
- "3029944",
- "3034196"
- ],
- "updates_category": "critical",
- "updates_installed": [],
- "updates_installed_afterwards": [
- "2506014",
- "2506212",
- "2511455",
- "2509553",
- "2506928",
- "2533552",
- "2544893",
- "2536275",
- "2545698",
- "2547666",
- "2552343",
- "982018",
- "2536276",
- "2563227",
- "2560656",
- "2570947",
- "2564958",
- "2603229",
- "2620704",
- "2607047",
- "2636573",
- "2656356",
- "2631813",
- "2585542",
- "2654428",
- "2643719",
- "2660075",
- "2640148",
- "2621440",
- "2608658",
- "976932",
- "2653956",
- "2604115",
- "2676562",
- "977238",
- "981391",
- "977236",
- "2386667",
- "981392",
- "2690533",
- "2718704",
- "2685939",
- "2709981",
- "2667402",
- "2698365",
- "2712808",
- "2719857",
- "2732059",
- "2705219",
- "2729094",
- "981111",
- "981390",
- "977239",
- "2750841",
- "2763523",
- "2761217",
- "2729452",
- "2685811",
- "2685813",
- "2706045",
- "2719033",
- "2716513",
- "2765809",
- "2758857",
- "2770660",
- "2742599",
- "2736422",
- "2786081",
- "2726535",
- "2789645",
- "2807986",
- "2791765",
- "2670838",
- "2823180",
- "2813347",
- "2840149",
- "2820331",
- "2798162",
- "2839894",
- "2813430",
- "2835361",
- "2832414",
- "2840631",
- "2862966",
- "2574819",
- "2592687",
- "2853952",
- "2868116",
- "2872339",
- "2847311",
- "2868038",
- "2864202",
- "2864058",
- "2861698",
- "2862335",
- "2861191",
- "2882822",
- "2884256",
- "2888049",
- "2808679",
- "2900986",
- "2868626",
- "2862152",
- "2893519",
- "2515325",
- "2647753",
- "2841134",
- "2892074",
- "2893294",
- "2913152",
- "2891804",
- "2887069",
- "2862330",
- "2912390",
- "2862973",
- "2911501",
- "2836942",
- "2836943",
- "2830477",
- "2843630",
- "2919469",
- "2923545",
- "2929733",
- "2922229",
- "2908783",
- "2928562",
- "2841134",
- "2852386",
- "2871997",
- "2926765",
- "2931356",
- "2957189",
- "2800095",
- "2939576",
- "2957503",
- "2957509",
- "2961072",
- "2973351",
- "2966583",
- "2973201",
- "2937610",
- "2943357",
- "2918614",
- "2976897",
- "2978668",
- "2980245",
- "2993651",
- "2972211",
- "2978092",
- "2973112",
- "2977728",
- "2894844",
- "2972216",
- "2985461",
- "2968294",
- "2970228",
- "2972100",
- "2972107",
- "2977292",
- "2979570",
- "2979578",
- "2984972",
- "2984976",
- "2984981",
- "2994023",
- "2991963",
- "2978128",
- "3005607",
- "3006226",
- "3010788",
- "2978120",
- "3003743",
- "2993958",
- "3008627",
- "3011780",
- "2992611",
- "3014406",
- "3013410",
- "3006625",
- "3024777",
- "3025390",
- "2901983",
- "3014029",
- "3020388",
- "3022777",
- "3020393",
- "3021674",
- "3004394",
- "3020338",
- "890830",
- "3031432",
- "3004375",
- "3021952",
- "3013455",
- "3023562",
- "3004361",
- "3029944",
- "3034196"
- ],
- "updates_installed_count": 0,
- "updates_reboot_needed": true,
- "updates_success": "true"
- Playbook: <-- same result as from CLI
- ---
- - hosts: windows
- gather_facts: true
- tasks:
- - name: win update
- win_updates:
- category: security
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement