Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.04 KB | None | 0 0
  1. win_updates documentation:
  2.  
  3. http://docs.ansible.com/win_updates_module.html
  4.  
  5. Play run from CLI:
  6.  
  7. 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.
  8.  
  9. Output from play (sorry, this is long):
  10.  
  11. 1PointWeb | success >> {
  12. "changed": true,
  13. "updates_already_present": [
  14. "2506014",
  15. "2506212",
  16. "2511455",
  17. "2509553",
  18. "2506928",
  19. "2533552",
  20. "2544893",
  21. "2536275",
  22. "2545698",
  23. "2547666",
  24. "2552343",
  25. "982018",
  26. "2536276",
  27. "2563227",
  28. "2560656",
  29. "2570947",
  30. "2564958",
  31. "2603229",
  32. "2620704",
  33. "2607047",
  34. "2636573",
  35. "2656356",
  36. "2631813",
  37. "2585542",
  38. "2654428",
  39. "2643719",
  40. "2660075",
  41. "2640148",
  42. "2621440",
  43. "2608658",
  44. "976932",
  45. "2653956",
  46. "2604115",
  47. "2676562",
  48. "977238",
  49. "981391",
  50. "977236",
  51. "2386667",
  52. "981392",
  53. "2690533",
  54. "2718704",
  55. "2685939",
  56. "2709981",
  57. "2667402",
  58. "2698365",
  59. "2712808",
  60. "2719857",
  61. "2732059",
  62. "2705219",
  63. "2729094",
  64. "981111",
  65. "981390",
  66. "977239",
  67. "2750841",
  68. "2763523",
  69. "2761217",
  70. "2729452",
  71. "2685811",
  72. "2685813",
  73. "2706045",
  74. "2719033",
  75. "2716513",
  76. "2765809",
  77. "2758857",
  78. "2770660",
  79. "2742599",
  80. "2736422",
  81. "2786081",
  82. "2726535",
  83. "2789645",
  84. "2807986",
  85. "2791765",
  86. "2670838",
  87. "2823180",
  88. "2813347",
  89. "2840149",
  90. "2820331",
  91. "2798162",
  92. "2839894",
  93. "2813430",
  94. "2835361",
  95. "2832414",
  96. "2840631",
  97. "2862966",
  98. "2574819",
  99. "2592687",
  100. "2853952",
  101. "2868116",
  102. "2872339",
  103. "2847311",
  104. "2868038",
  105. "2864202",
  106. "2864058",
  107. "2861698",
  108. "2862335",
  109. "2861191",
  110. "2882822",
  111. "2884256",
  112. "2888049",
  113. "2808679",
  114. "2900986",
  115. "2868626",
  116. "2862152",
  117. "2893519",
  118. "2515325",
  119. "2647753",
  120. "2841134",
  121. "2892074",
  122. "2893294",
  123. "2913152",
  124. "2891804",
  125. "2887069",
  126. "2862330",
  127. "2912390",
  128. "2862973",
  129. "2911501",
  130. "2836942",
  131. "2836943",
  132. "2830477",
  133. "2843630",
  134. "2919469",
  135. "2923545",
  136. "2929733",
  137. "2922229",
  138. "2908783",
  139. "2928562",
  140. "2841134",
  141. "2852386",
  142. "2871997",
  143. "2926765",
  144. "2931356",
  145. "2957189",
  146. "2800095",
  147. "2939576",
  148. "2957503",
  149. "2957509",
  150. "2961072",
  151. "2973351",
  152. "2966583",
  153. "2973201",
  154. "2937610",
  155. "2943357",
  156. "2918614",
  157. "2976897",
  158. "2978668",
  159. "2980245",
  160. "2993651",
  161. "2972211",
  162. "2978092",
  163. "2973112",
  164. "2977728",
  165. "2894844",
  166. "2972216",
  167. "2985461",
  168. "2968294",
  169. "2970228",
  170. "2972100",
  171. "2972107",
  172. "2977292",
  173. "2979570",
  174. "2979578",
  175. "2984972",
  176. "2984976",
  177. "2984981",
  178. "2994023",
  179. "2991963",
  180. "2978128",
  181. "3005607",
  182. "3006226",
  183. "3010788",
  184. "2978120",
  185. "3003743",
  186. "2993958",
  187. "3008627",
  188. "3011780",
  189. "2992611",
  190. "3014406",
  191. "3013410",
  192. "3006625",
  193. "3024777",
  194. "3025390",
  195. "2901983",
  196. "3014029",
  197. "3020388",
  198. "3022777",
  199. "3020393",
  200. "3021674",
  201. "3004394",
  202. "3020338",
  203. "890830",
  204. "3031432",
  205. "3004375",
  206. "3021952",
  207. "3013455",
  208. "3023562",
  209. "3004361",
  210. "3029944",
  211. "3034196"
  212. ],
  213. "updates_category": "critical",
  214. "updates_installed": [],
  215. "updates_installed_afterwards": [
  216. "2506014",
  217. "2506212",
  218. "2511455",
  219. "2509553",
  220. "2506928",
  221. "2533552",
  222. "2544893",
  223. "2536275",
  224. "2545698",
  225. "2547666",
  226. "2552343",
  227. "982018",
  228. "2536276",
  229. "2563227",
  230. "2560656",
  231. "2570947",
  232. "2564958",
  233. "2603229",
  234. "2620704",
  235. "2607047",
  236. "2636573",
  237. "2656356",
  238. "2631813",
  239. "2585542",
  240. "2654428",
  241. "2643719",
  242. "2660075",
  243. "2640148",
  244. "2621440",
  245. "2608658",
  246. "976932",
  247. "2653956",
  248. "2604115",
  249. "2676562",
  250. "977238",
  251. "981391",
  252. "977236",
  253. "2386667",
  254. "981392",
  255. "2690533",
  256. "2718704",
  257. "2685939",
  258. "2709981",
  259. "2667402",
  260. "2698365",
  261. "2712808",
  262. "2719857",
  263. "2732059",
  264. "2705219",
  265. "2729094",
  266. "981111",
  267. "981390",
  268. "977239",
  269. "2750841",
  270. "2763523",
  271. "2761217",
  272. "2729452",
  273. "2685811",
  274. "2685813",
  275. "2706045",
  276. "2719033",
  277. "2716513",
  278. "2765809",
  279. "2758857",
  280. "2770660",
  281. "2742599",
  282. "2736422",
  283. "2786081",
  284. "2726535",
  285. "2789645",
  286. "2807986",
  287. "2791765",
  288. "2670838",
  289. "2823180",
  290. "2813347",
  291. "2840149",
  292. "2820331",
  293. "2798162",
  294. "2839894",
  295. "2813430",
  296. "2835361",
  297. "2832414",
  298. "2840631",
  299. "2862966",
  300. "2574819",
  301. "2592687",
  302. "2853952",
  303. "2868116",
  304. "2872339",
  305. "2847311",
  306. "2868038",
  307. "2864202",
  308. "2864058",
  309. "2861698",
  310. "2862335",
  311. "2861191",
  312. "2882822",
  313. "2884256",
  314. "2888049",
  315. "2808679",
  316. "2900986",
  317. "2868626",
  318. "2862152",
  319. "2893519",
  320. "2515325",
  321. "2647753",
  322. "2841134",
  323. "2892074",
  324. "2893294",
  325. "2913152",
  326. "2891804",
  327. "2887069",
  328. "2862330",
  329. "2912390",
  330. "2862973",
  331. "2911501",
  332. "2836942",
  333. "2836943",
  334. "2830477",
  335. "2843630",
  336. "2919469",
  337. "2923545",
  338. "2929733",
  339. "2922229",
  340. "2908783",
  341. "2928562",
  342. "2841134",
  343. "2852386",
  344. "2871997",
  345. "2926765",
  346. "2931356",
  347. "2957189",
  348. "2800095",
  349. "2939576",
  350. "2957503",
  351. "2957509",
  352. "2961072",
  353. "2973351",
  354. "2966583",
  355. "2973201",
  356. "2937610",
  357. "2943357",
  358. "2918614",
  359. "2976897",
  360. "2978668",
  361. "2980245",
  362. "2993651",
  363. "2972211",
  364. "2978092",
  365. "2973112",
  366. "2977728",
  367. "2894844",
  368. "2972216",
  369. "2985461",
  370. "2968294",
  371. "2970228",
  372. "2972100",
  373. "2972107",
  374. "2977292",
  375. "2979570",
  376. "2979578",
  377. "2984972",
  378. "2984976",
  379. "2984981",
  380. "2994023",
  381. "2991963",
  382. "2978128",
  383. "3005607",
  384. "3006226",
  385. "3010788",
  386. "2978120",
  387. "3003743",
  388. "2993958",
  389. "3008627",
  390. "3011780",
  391. "2992611",
  392. "3014406",
  393. "3013410",
  394. "3006625",
  395. "3024777",
  396. "3025390",
  397. "2901983",
  398. "3014029",
  399. "3020388",
  400. "3022777",
  401. "3020393",
  402. "3021674",
  403. "3004394",
  404. "3020338",
  405. "890830",
  406. "3031432",
  407. "3004375",
  408. "3021952",
  409. "3013455",
  410. "3023562",
  411. "3004361",
  412. "3029944",
  413. "3034196"
  414. ],
  415. "updates_installed_count": 0,
  416. "updates_reboot_needed": true,
  417. "updates_success": "true"
  418.  
  419. Playbook: <-- same result as from CLI
  420.  
  421. ---
  422.  
  423. - hosts: windows
  424. gather_facts: true
  425.  
  426. tasks:
  427. - name: win update
  428. win_updates:
  429. category: security
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement