Advertisement
ptr727

Untitled

Aug 3rd, 2023
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 101.90 KB | None | 0 0
  1. pieter@server-1:~/HomeAutomation$ ansible-playbook -vvv --ask-become-pass ~/HomeAutomation/Ansible/test.yml
  2. ansible-playbook [core 2.15.2]
  3. config file = None
  4. configured module search path = ['/home/pieter/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  5. ansible python module location = /usr/local/lib/python3.9/dist-packages/ansible
  6. ansible collection location = /home/pieter/.ansible/collections:/usr/share/ansible/collections
  7. executable location = /usr/local/bin/ansible-playbook
  8. python version = 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] (/usr/bin/python3)
  9. jinja version = 3.0.1
  10. libyaml = True
  11. No config file found; using defaults
  12. BECOME password:
  13. host_list declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
  14. Skipping due to inventory source not existing or not being readable by the current user
  15. script declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
  16. auto declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
  17. Skipping due to inventory source not existing or not being readable by the current user
  18. yaml declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
  19. Skipping due to inventory source not existing or not being readable by the current user
  20. ini declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
  21. Skipping due to inventory source not existing or not being readable by the current user
  22. toml declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
  23. [WARNING]: No inventory was parsed, only implicit localhost is available
  24. [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
  25. statically imported: /home/pieter/HomeAutomation/Ansible/tasks/cloud_init3.yml
  26. Skipping callback 'default', as we already have a stdout callback.
  27. Skipping callback 'minimal', as we already have a stdout callback.
  28. Skipping callback 'oneline', as we already have a stdout callback.
  29.  
  30. PLAYBOOK: test.yml ***********************************************************************************************************************************************************************************************************************************************************
  31. 1 plays in /home/pieter/HomeAutomation/Ansible/test.yml
  32.  
  33. PLAY [localhost] *************************************************************************************************************************************************************************************************************************************************************
  34.  
  35. TASK [Gathering Facts] *******************************************************************************************************************************************************************************************************************************************************
  36. task path: /home/pieter/HomeAutomation/Ansible/test.yml:4
  37. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: pieter
  38. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  39. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080617.7582788-2008862-124199456930030 `" && echo ansible-tmp-1691080617.7582788-2008862-124199456930030="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080617.7582788-2008862-124199456930030 `" ) && sleep 0'
  40. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/setup.py
  41. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmp_57qstpe TO /home/pieter/.ansible/tmp/ansible-tmp-1691080617.7582788-2008862-124199456930030/AnsiballZ_setup.py
  42. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080617.7582788-2008862-124199456930030/ /home/pieter/.ansible/tmp/ansible-tmp-1691080617.7582788-2008862-124199456930030/AnsiballZ_setup.py && sleep 0'
  43. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=dcazrldiykevoglqvikvqnzwxkahxbmn] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-dcazrldiykevoglqvikvqnzwxkahxbmn ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080617.7582788-2008862-124199456930030/AnsiballZ_setup.py'"'"' && sleep 0'
  44. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080617.7582788-2008862-124199456930030/ > /dev/null 2>&1 && sleep 0'
  45. ok: [localhost]
  46.  
  47. TASK [Install libguestfs] ****************************************************************************************************************************************************************************************************************************************************
  48. task path: /home/pieter/HomeAutomation/Ansible/tasks/cloud_init3.yml:7
  49. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: pieter
  50. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  51. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080619.6897554-2009470-145911624224197 `" && echo ansible-tmp-1691080619.6897554-2009470-145911624224197="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080619.6897554-2009470-145911624224197 `" ) && sleep 0'
  52. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/apt.py
  53. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmp4io86xd9 TO /home/pieter/.ansible/tmp/ansible-tmp-1691080619.6897554-2009470-145911624224197/AnsiballZ_apt.py
  54. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080619.6897554-2009470-145911624224197/ /home/pieter/.ansible/tmp/ansible-tmp-1691080619.6897554-2009470-145911624224197/AnsiballZ_apt.py && sleep 0'
  55. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=idimvjiuvgjawzppxawyzoydfenhjhup] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-idimvjiuvgjawzppxawyzoydfenhjhup ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080619.6897554-2009470-145911624224197/AnsiballZ_apt.py'"'"' && sleep 0'
  56. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080619.6897554-2009470-145911624224197/ > /dev/null 2>&1 && sleep 0'
  57. ok: [localhost] => {
  58. "cache_update_time": 1691078264,
  59. "cache_updated": false,
  60. "changed": false,
  61. "invocation": {
  62. "module_args": {
  63. "allow_change_held_packages": false,
  64. "allow_downgrade": false,
  65. "allow_unauthenticated": false,
  66. "autoclean": false,
  67. "autoremove": false,
  68. "cache_valid_time": 3600,
  69. "clean": false,
  70. "deb": null,
  71. "default_release": null,
  72. "dpkg_options": "force-confdef,force-confold",
  73. "fail_on_autoremove": false,
  74. "force": false,
  75. "force_apt_get": false,
  76. "install_recommends": null,
  77. "lock_timeout": 60,
  78. "name": [
  79. "libguestfs-tools"
  80. ],
  81. "only_upgrade": false,
  82. "package": [
  83. "libguestfs-tools"
  84. ],
  85. "policy_rc_d": null,
  86. "purge": false,
  87. "state": "latest",
  88. "update_cache": true,
  89. "update_cache_retries": 5,
  90. "update_cache_retry_max_delay": 12,
  91. "upgrade": null
  92. }
  93. }
  94. }
  95.  
  96. TASK [Create Cloud Init directory] *******************************************************************************************************************************************************************************************************************************************
  97. task path: /home/pieter/HomeAutomation/Ansible/tasks/cloud_init3.yml:15
  98. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: pieter
  99. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  100. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080620.4973004-2009516-202028431217863 `" && echo ansible-tmp-1691080620.4973004-2009516-202028431217863="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080620.4973004-2009516-202028431217863 `" ) && sleep 0'
  101. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/file.py
  102. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmpkbovualt TO /home/pieter/.ansible/tmp/ansible-tmp-1691080620.4973004-2009516-202028431217863/AnsiballZ_file.py
  103. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080620.4973004-2009516-202028431217863/ /home/pieter/.ansible/tmp/ansible-tmp-1691080620.4973004-2009516-202028431217863/AnsiballZ_file.py && sleep 0'
  104. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=brfjqiypbnqzfjuwudwwotkkvnyaliob] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-brfjqiypbnqzfjuwudwwotkkvnyaliob ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080620.4973004-2009516-202028431217863/AnsiballZ_file.py'"'"' && sleep 0'
  105. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080620.4973004-2009516-202028431217863/ > /dev/null 2>&1 && sleep 0'
  106. ok: [localhost] => (item=/data/install/images) => {
  107. "ansible_loop_var": "item",
  108. "changed": false,
  109. "diff": {
  110. "after": {
  111. "path": "/data/install/images"
  112. },
  113. "before": {
  114. "path": "/data/install/images"
  115. }
  116. },
  117. "gid": 100,
  118. "group": "users",
  119. "invocation": {
  120. "module_args": {
  121. "_diff_peek": null,
  122. "_original_basename": null,
  123. "access_time": null,
  124. "access_time_format": "%Y%m%d%H%M.%S",
  125. "attributes": null,
  126. "follow": true,
  127. "force": false,
  128. "group": "users",
  129. "mode": "ugo+rwx",
  130. "modification_time": null,
  131. "modification_time_format": "%Y%m%d%H%M.%S",
  132. "owner": "nobody",
  133. "path": "/data/install/images",
  134. "recurse": true,
  135. "selevel": null,
  136. "serole": null,
  137. "setype": null,
  138. "seuser": null,
  139. "src": null,
  140. "state": "directory",
  141. "unsafe_writes": false
  142. }
  143. },
  144. "item": "/data/install/images",
  145. "mode": "02777",
  146. "owner": "nobody",
  147. "path": "/data/install/images",
  148. "size": 7,
  149. "state": "directory",
  150. "uid": 65534
  151. }
  152.  
  153. TASK [Rescan images] *********************************************************************************************************************************************************************************************************************************************************
  154. task path: /home/pieter/HomeAutomation/Ansible/tasks/cloud_init3.yml:28
  155. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: pieter
  156. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  157. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080620.844513-2009544-271463281503162 `" && echo ansible-tmp-1691080620.844513-2009544-271463281503162="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080620.844513-2009544-271463281503162 `" ) && sleep 0'
  158. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/command.py
  159. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmp024w3n61 TO /home/pieter/.ansible/tmp/ansible-tmp-1691080620.844513-2009544-271463281503162/AnsiballZ_command.py
  160. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080620.844513-2009544-271463281503162/ /home/pieter/.ansible/tmp/ansible-tmp-1691080620.844513-2009544-271463281503162/AnsiballZ_command.py && sleep 0'
  161. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=luywmwtfrdzsvcpufzjrdbgitfboytzl] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-luywmwtfrdzsvcpufzjrdbgitfboytzl ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080620.844513-2009544-271463281503162/AnsiballZ_command.py'"'"' && sleep 0'
  162. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080620.844513-2009544-271463281503162/ > /dev/null 2>&1 && sleep 0'
  163. changed: [localhost] => {
  164. "changed": true,
  165. "cmd": [
  166. "qm",
  167. "rescan"
  168. ],
  169. "delta": "0:00:01.283400",
  170. "end": "2023-08-03 09:37:02.388119",
  171. "invocation": {
  172. "module_args": {
  173. "_raw_params": "qm rescan",
  174. "_uses_shell": false,
  175. "argv": null,
  176. "chdir": null,
  177. "creates": null,
  178. "executable": null,
  179. "removes": null,
  180. "stdin": null,
  181. "stdin_add_newline": true,
  182. "strip_empty_ends": true
  183. }
  184. },
  185. "msg": "",
  186. "rc": 0,
  187. "start": "2023-08-03 09:37:01.104719",
  188. "stderr": "",
  189. "stderr_lines": [],
  190. "stdout": "rescan volumes...",
  191. "stdout_lines": [
  192. "rescan volumes..."
  193. ]
  194. }
  195.  
  196. TASK [Download cloud images] *************************************************************************************************************************************************************************************************************************************************
  197. task path: /home/pieter/HomeAutomation/Ansible/tasks/cloud_init3.yml:36
  198. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: pieter
  199. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  200. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080622.460522-2009595-143635097004562 `" && echo ansible-tmp-1691080622.460522-2009595-143635097004562="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080622.460522-2009595-143635097004562 `" ) && sleep 0'
  201. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/get_url.py
  202. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmp2zqng296 TO /home/pieter/.ansible/tmp/ansible-tmp-1691080622.460522-2009595-143635097004562/AnsiballZ_get_url.py
  203. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080622.460522-2009595-143635097004562/ /home/pieter/.ansible/tmp/ansible-tmp-1691080622.460522-2009595-143635097004562/AnsiballZ_get_url.py && sleep 0'
  204. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=fqboabmaiaklwmkgtftkkmerxembpbgr] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-fqboabmaiaklwmkgtftkkmerxembpbgr ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080622.460522-2009595-143635097004562/AnsiballZ_get_url.py'"'"' && sleep 0'
  205. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080622.460522-2009595-143635097004562/ > /dev/null 2>&1 && sleep 0'
  206. ok: [localhost] => (item={'id': '9001', 'name': 'ubuntu-jammy-template', 'tags': ['ubuntu', 'jammy', 'cloud-image'], 'file': '/data/install/images/jammy-server-cloudimg-amd64.img', 'disk': '/data/install/images/jammy-server-cloudimg-amd64-disk.img', 'url': 'https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img'}) => {
  207. "ansible_loop_var": "item",
  208. "changed": false,
  209. "dest": "/data/install/images/jammy-server-cloudimg-amd64.img",
  210. "elapsed": 0,
  211. "gid": 100,
  212. "group": "users",
  213. "invocation": {
  214. "module_args": {
  215. "attributes": null,
  216. "backup": false,
  217. "checksum": "",
  218. "ciphers": null,
  219. "client_cert": null,
  220. "client_key": null,
  221. "decompress": true,
  222. "dest": "/data/install/images/jammy-server-cloudimg-amd64.img",
  223. "force": false,
  224. "force_basic_auth": false,
  225. "group": "users",
  226. "headers": null,
  227. "http_agent": "ansible-httpget",
  228. "mode": "ugo+rwx",
  229. "owner": "nobody",
  230. "selevel": null,
  231. "serole": null,
  232. "setype": null,
  233. "seuser": null,
  234. "timeout": 120,
  235. "tmp_dest": null,
  236. "unredirected_headers": [],
  237. "unsafe_writes": false,
  238. "url": "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img",
  239. "url_password": null,
  240. "url_username": null,
  241. "use_gssapi": false,
  242. "use_netrc": true,
  243. "use_proxy": true,
  244. "validate_certs": true
  245. }
  246. },
  247. "item": {
  248. "disk": "/data/install/images/jammy-server-cloudimg-amd64-disk.img",
  249. "file": "/data/install/images/jammy-server-cloudimg-amd64.img",
  250. "id": "9001",
  251. "name": "ubuntu-jammy-template",
  252. "tags": [
  253. "ubuntu",
  254. "jammy",
  255. "cloud-image"
  256. ],
  257. "url": "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
  258. },
  259. "mode": "0777",
  260. "msg": "HTTP Error 304: Not Modified",
  261. "owner": "nobody",
  262. "size": 688390144,
  263. "state": "file",
  264. "status_code": 304,
  265. "uid": 65534,
  266. "url": "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
  267. }
  268. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  269. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080623.3594255-2009595-79323298337961 `" && echo ansible-tmp-1691080623.3594255-2009595-79323298337961="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080623.3594255-2009595-79323298337961 `" ) && sleep 0'
  270. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/get_url.py
  271. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmp7twvg889 TO /home/pieter/.ansible/tmp/ansible-tmp-1691080623.3594255-2009595-79323298337961/AnsiballZ_get_url.py
  272. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080623.3594255-2009595-79323298337961/ /home/pieter/.ansible/tmp/ansible-tmp-1691080623.3594255-2009595-79323298337961/AnsiballZ_get_url.py && sleep 0'
  273. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=rgrhryrwlztcsidfsdgorrcyahdlkasm] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-rgrhryrwlztcsidfsdgorrcyahdlkasm ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080623.3594255-2009595-79323298337961/AnsiballZ_get_url.py'"'"' && sleep 0'
  274. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080623.3594255-2009595-79323298337961/ > /dev/null 2>&1 && sleep 0'
  275. ok: [localhost] => (item={'id': '9002', 'name': 'debian-bookworm-template', 'tags': 'debian,bookworm,cloud-image', 'file': '/data/install/images/debian-12-genericcloud-amd64.qcow2', 'disk': '/data/install/images/debian-12-genericcloud-amd64-disk.qcow2', 'url': 'https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2'}) => {
  276. "ansible_loop_var": "item",
  277. "changed": false,
  278. "dest": "/data/install/images/debian-12-genericcloud-amd64.qcow2",
  279. "elapsed": 1,
  280. "gid": 100,
  281. "group": "users",
  282. "invocation": {
  283. "module_args": {
  284. "attributes": null,
  285. "backup": false,
  286. "checksum": "",
  287. "ciphers": null,
  288. "client_cert": null,
  289. "client_key": null,
  290. "decompress": true,
  291. "dest": "/data/install/images/debian-12-genericcloud-amd64.qcow2",
  292. "force": false,
  293. "force_basic_auth": false,
  294. "group": "users",
  295. "headers": null,
  296. "http_agent": "ansible-httpget",
  297. "mode": "ugo+rwx",
  298. "owner": "nobody",
  299. "selevel": null,
  300. "serole": null,
  301. "setype": null,
  302. "seuser": null,
  303. "timeout": 120,
  304. "tmp_dest": null,
  305. "unredirected_headers": [],
  306. "unsafe_writes": false,
  307. "url": "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2",
  308. "url_password": null,
  309. "url_username": null,
  310. "use_gssapi": false,
  311. "use_netrc": true,
  312. "use_proxy": true,
  313. "validate_certs": true
  314. }
  315. },
  316. "item": {
  317. "disk": "/data/install/images/debian-12-genericcloud-amd64-disk.qcow2",
  318. "file": "/data/install/images/debian-12-genericcloud-amd64.qcow2",
  319. "id": "9002",
  320. "name": "debian-bookworm-template",
  321. "tags": "debian,bookworm,cloud-image",
  322. "url": "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
  323. },
  324. "mode": "0777",
  325. "msg": "HTTP Error 304: Not Modified",
  326. "owner": "nobody",
  327. "size": 279814144,
  328. "state": "file",
  329. "status_code": 304,
  330. "uid": 65534,
  331. "url": "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
  332. }
  333.  
  334. TASK [Copy cloud image] ******************************************************************************************************************************************************************************************************************************************************
  335. task path: /home/pieter/HomeAutomation/Ansible/tasks/cloud_init3.yml:49
  336. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: pieter
  337. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  338. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141 `" && echo ansible-tmp-1691080624.8405864-2009893-253171954142141="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141 `" ) && sleep 0'
  339. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/stat.py
  340. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmpqq6om7is TO /home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141/AnsiballZ_stat.py
  341. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141/ /home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141/AnsiballZ_stat.py && sleep 0'
  342. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=gusmzxsxdicqqvplreineorwbhaqyget] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-gusmzxsxdicqqvplreineorwbhaqyget ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141/AnsiballZ_stat.py'"'"' && sleep 0'
  343. <127.0.0.1> PUT /data/install/images/jammy-server-cloudimg-amd64.img TO /home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141/source
  344. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141/ /home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141/source && sleep 0'
  345. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/copy.py
  346. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmp6g4b6jra TO /home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141/AnsiballZ_copy.py
  347. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141/ /home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141/AnsiballZ_copy.py && sleep 0'
  348. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=cjltcdznkkgagxwpunzzthxdelyznhlp] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-cjltcdznkkgagxwpunzzthxdelyznhlp ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141/AnsiballZ_copy.py'"'"' && sleep 0'
  349. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141/ > /dev/null 2>&1 && sleep 0'
  350. changed: [localhost] => (item={'id': '9001', 'name': 'ubuntu-jammy-template', 'tags': ['ubuntu', 'jammy', 'cloud-image'], 'file': '/data/install/images/jammy-server-cloudimg-amd64.img', 'disk': '/data/install/images/jammy-server-cloudimg-amd64-disk.img', 'url': 'https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img'}) => {
  351. "ansible_loop_var": "item",
  352. "changed": true,
  353. "checksum": "f4ed01a6977e58b1d056800647d2b31b715d45db",
  354. "dest": "/data/install/images/jammy-server-cloudimg-amd64-disk.img",
  355. "diff": [],
  356. "gid": 100,
  357. "group": "users",
  358. "invocation": {
  359. "module_args": {
  360. "_original_basename": "jammy-server-cloudimg-amd64.img",
  361. "attributes": null,
  362. "backup": false,
  363. "checksum": "f4ed01a6977e58b1d056800647d2b31b715d45db",
  364. "content": null,
  365. "dest": "/data/install/images/jammy-server-cloudimg-amd64-disk.img",
  366. "directory_mode": null,
  367. "follow": false,
  368. "force": true,
  369. "group": "users",
  370. "local_follow": null,
  371. "mode": "ugo+rwx",
  372. "owner": "nobody",
  373. "remote_src": null,
  374. "selevel": null,
  375. "serole": null,
  376. "setype": null,
  377. "seuser": null,
  378. "src": "/home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141/source",
  379. "unsafe_writes": false,
  380. "validate": null
  381. }
  382. },
  383. "item": {
  384. "disk": "/data/install/images/jammy-server-cloudimg-amd64-disk.img",
  385. "file": "/data/install/images/jammy-server-cloudimg-amd64.img",
  386. "id": "9001",
  387. "name": "ubuntu-jammy-template",
  388. "tags": [
  389. "ubuntu",
  390. "jammy",
  391. "cloud-image"
  392. ],
  393. "url": "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
  394. },
  395. "md5sum": "d7716dbcdf7cdfc42a548914a509fabb",
  396. "mode": "0777",
  397. "owner": "nobody",
  398. "size": 688390144,
  399. "src": "/home/pieter/.ansible/tmp/ansible-tmp-1691080624.8405864-2009893-253171954142141/source",
  400. "state": "file",
  401. "uid": 65534
  402. }
  403. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  404. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394 `" && echo ansible-tmp-1691080633.8892925-2009893-86966945304394="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394 `" ) && sleep 0'
  405. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/stat.py
  406. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmpa8wtwyw_ TO /home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394/AnsiballZ_stat.py
  407. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394/ /home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394/AnsiballZ_stat.py && sleep 0'
  408. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=hrtaiccxhkjqfqkpplputffizdhwqzss] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-hrtaiccxhkjqfqkpplputffizdhwqzss ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394/AnsiballZ_stat.py'"'"' && sleep 0'
  409. <127.0.0.1> PUT /data/install/images/debian-12-genericcloud-amd64.qcow2 TO /home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394/source
  410. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394/ /home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394/source && sleep 0'
  411. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/copy.py
  412. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmpg9vjb8lf TO /home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394/AnsiballZ_copy.py
  413. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394/ /home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394/AnsiballZ_copy.py && sleep 0'
  414. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=hqqxdtxzwegnnnrmdofhlrzcfkdgbfpu] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-hqqxdtxzwegnnnrmdofhlrzcfkdgbfpu ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394/AnsiballZ_copy.py'"'"' && sleep 0'
  415. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394/ > /dev/null 2>&1 && sleep 0'
  416. changed: [localhost] => (item={'id': '9002', 'name': 'debian-bookworm-template', 'tags': 'debian,bookworm,cloud-image', 'file': '/data/install/images/debian-12-genericcloud-amd64.qcow2', 'disk': '/data/install/images/debian-12-genericcloud-amd64-disk.qcow2', 'url': 'https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2'}) => {
  417. "ansible_loop_var": "item",
  418. "changed": true,
  419. "checksum": "9ac3b92e687fe672528ed92a349301d0b6e48784",
  420. "dest": "/data/install/images/debian-12-genericcloud-amd64-disk.qcow2",
  421. "diff": [],
  422. "gid": 100,
  423. "group": "users",
  424. "invocation": {
  425. "module_args": {
  426. "_original_basename": "debian-12-genericcloud-amd64.qcow2",
  427. "attributes": null,
  428. "backup": false,
  429. "checksum": "9ac3b92e687fe672528ed92a349301d0b6e48784",
  430. "content": null,
  431. "dest": "/data/install/images/debian-12-genericcloud-amd64-disk.qcow2",
  432. "directory_mode": null,
  433. "follow": false,
  434. "force": true,
  435. "group": "users",
  436. "local_follow": null,
  437. "mode": "ugo+rwx",
  438. "owner": "nobody",
  439. "remote_src": null,
  440. "selevel": null,
  441. "serole": null,
  442. "setype": null,
  443. "seuser": null,
  444. "src": "/home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394/source",
  445. "unsafe_writes": false,
  446. "validate": null
  447. }
  448. },
  449. "item": {
  450. "disk": "/data/install/images/debian-12-genericcloud-amd64-disk.qcow2",
  451. "file": "/data/install/images/debian-12-genericcloud-amd64.qcow2",
  452. "id": "9002",
  453. "name": "debian-bookworm-template",
  454. "tags": "debian,bookworm,cloud-image",
  455. "url": "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
  456. },
  457. "md5sum": "eb21b004a83006029bb1e974448990fc",
  458. "mode": "0777",
  459. "owner": "nobody",
  460. "size": 279814144,
  461. "src": "/home/pieter/.ansible/tmp/ansible-tmp-1691080633.8892925-2009893-86966945304394/source",
  462. "state": "file",
  463. "uid": 65534
  464. }
  465.  
  466. TASK [Install guest agent in image] ******************************************************************************************************************************************************************************************************************************************
  467. task path: /home/pieter/HomeAutomation/Ansible/tasks/cloud_init3.yml:61
  468. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: pieter
  469. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  470. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080638.5641408-2013949-236455842734797 `" && echo ansible-tmp-1691080638.5641408-2013949-236455842734797="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080638.5641408-2013949-236455842734797 `" ) && sleep 0'
  471. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/command.py
  472. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmps3ods3pn TO /home/pieter/.ansible/tmp/ansible-tmp-1691080638.5641408-2013949-236455842734797/AnsiballZ_command.py
  473. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080638.5641408-2013949-236455842734797/ /home/pieter/.ansible/tmp/ansible-tmp-1691080638.5641408-2013949-236455842734797/AnsiballZ_command.py && sleep 0'
  474. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=mqizoeimjjxvkcytmiohevxliifcqlzy] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-mqizoeimjjxvkcytmiohevxliifcqlzy ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080638.5641408-2013949-236455842734797/AnsiballZ_command.py'"'"' && sleep 0'
  475. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080638.5641408-2013949-236455842734797/ > /dev/null 2>&1 && sleep 0'
  476. changed: [localhost] => (item={'id': '9001', 'name': 'ubuntu-jammy-template', 'tags': ['ubuntu', 'jammy', 'cloud-image'], 'file': '/data/install/images/jammy-server-cloudimg-amd64.img', 'disk': '/data/install/images/jammy-server-cloudimg-amd64-disk.img', 'url': 'https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img'}) => {
  477. "ansible_loop_var": "item",
  478. "changed": true,
  479. "cmd": [
  480. "virt-customize",
  481. "-a",
  482. "/data/install/images/jammy-server-cloudimg-amd64-disk.img",
  483. "--install",
  484. "qemu-guest-agent"
  485. ],
  486. "delta": "0:00:31.025656",
  487. "end": "2023-08-03 09:37:49.759391",
  488. "invocation": {
  489. "module_args": {
  490. "_raw_params": "virt-customize -a /data/install/images/jammy-server-cloudimg-amd64-disk.img --install qemu-guest-agent",
  491. "_uses_shell": false,
  492. "argv": null,
  493. "chdir": null,
  494. "creates": null,
  495. "executable": null,
  496. "removes": null,
  497. "stdin": null,
  498. "stdin_add_newline": true,
  499. "strip_empty_ends": true
  500. }
  501. },
  502. "item": {
  503. "disk": "/data/install/images/jammy-server-cloudimg-amd64-disk.img",
  504. "file": "/data/install/images/jammy-server-cloudimg-amd64.img",
  505. "id": "9001",
  506. "name": "ubuntu-jammy-template",
  507. "tags": [
  508. "ubuntu",
  509. "jammy",
  510. "cloud-image"
  511. ],
  512. "url": "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
  513. },
  514. "msg": "",
  515. "rc": 0,
  516. "start": "2023-08-03 09:37:18.733735",
  517. "stderr": "",
  518. "stderr_lines": [],
  519. "stdout": "[ 0.0] Examining the guest ...\n[ 4.2] Setting a random seed\nvirt-customize: warning: random seed could not be set for this type of \nguest\n[ 4.3] Setting the machine ID in /etc/machine-id\n[ 4.3] Installing packages: qemu-guest-agent\n[ 30.9] Finishing off",
  520. "stdout_lines": [
  521. "[ 0.0] Examining the guest ...",
  522. "[ 4.2] Setting a random seed",
  523. "virt-customize: warning: random seed could not be set for this type of ",
  524. "guest",
  525. "[ 4.3] Setting the machine ID in /etc/machine-id",
  526. "[ 4.3] Installing packages: qemu-guest-agent",
  527. "[ 30.9] Finishing off"
  528. ]
  529. }
  530. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  531. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080669.7905366-2013949-51955652889483 `" && echo ansible-tmp-1691080669.7905366-2013949-51955652889483="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080669.7905366-2013949-51955652889483 `" ) && sleep 0'
  532. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/command.py
  533. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmphjh1mz1b TO /home/pieter/.ansible/tmp/ansible-tmp-1691080669.7905366-2013949-51955652889483/AnsiballZ_command.py
  534. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080669.7905366-2013949-51955652889483/ /home/pieter/.ansible/tmp/ansible-tmp-1691080669.7905366-2013949-51955652889483/AnsiballZ_command.py && sleep 0'
  535. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=nqqwklgpnvtltlhpfczblrhyawgibqko] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-nqqwklgpnvtltlhpfczblrhyawgibqko ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080669.7905366-2013949-51955652889483/AnsiballZ_command.py'"'"' && sleep 0'
  536. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080669.7905366-2013949-51955652889483/ > /dev/null 2>&1 && sleep 0'
  537. changed: [localhost] => (item={'id': '9002', 'name': 'debian-bookworm-template', 'tags': 'debian,bookworm,cloud-image', 'file': '/data/install/images/debian-12-genericcloud-amd64.qcow2', 'disk': '/data/install/images/debian-12-genericcloud-amd64-disk.qcow2', 'url': 'https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2'}) => {
  538. "ansible_loop_var": "item",
  539. "changed": true,
  540. "cmd": [
  541. "virt-customize",
  542. "-a",
  543. "/data/install/images/debian-12-genericcloud-amd64-disk.qcow2",
  544. "--install",
  545. "qemu-guest-agent"
  546. ],
  547. "delta": "0:00:20.471320",
  548. "end": "2023-08-03 09:38:10.411420",
  549. "invocation": {
  550. "module_args": {
  551. "_raw_params": "virt-customize -a /data/install/images/debian-12-genericcloud-amd64-disk.qcow2 --install qemu-guest-agent",
  552. "_uses_shell": false,
  553. "argv": null,
  554. "chdir": null,
  555. "creates": null,
  556. "executable": null,
  557. "removes": null,
  558. "stdin": null,
  559. "stdin_add_newline": true,
  560. "strip_empty_ends": true
  561. }
  562. },
  563. "item": {
  564. "disk": "/data/install/images/debian-12-genericcloud-amd64-disk.qcow2",
  565. "file": "/data/install/images/debian-12-genericcloud-amd64.qcow2",
  566. "id": "9002",
  567. "name": "debian-bookworm-template",
  568. "tags": "debian,bookworm,cloud-image",
  569. "url": "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
  570. },
  571. "msg": "",
  572. "rc": 0,
  573. "start": "2023-08-03 09:37:49.940100",
  574. "stderr": "",
  575. "stderr_lines": [],
  576. "stdout": "[ 0.0] Examining the guest ...\n[ 3.8] Setting a random seed\nvirt-customize: warning: random seed could not be set for this type of \nguest\n[ 3.9] Setting the machine ID in /etc/machine-id\n[ 3.9] Installing packages: qemu-guest-agent\n[ 20.3] Finishing off",
  577. "stdout_lines": [
  578. "[ 0.0] Examining the guest ...",
  579. "[ 3.8] Setting a random seed",
  580. "virt-customize: warning: random seed could not be set for this type of ",
  581. "guest",
  582. "[ 3.9] Setting the machine ID in /etc/machine-id",
  583. "[ 3.9] Installing packages: qemu-guest-agent",
  584. "[ 20.3] Finishing off"
  585. ]
  586. }
  587.  
  588. TASK [Destroy VM] ************************************************************************************************************************************************************************************************************************************************************
  589. task path: /home/pieter/HomeAutomation/Ansible/tasks/cloud_init3.yml:68
  590. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: pieter
  591. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  592. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080690.4898582-2020742-62300060939991 `" && echo ansible-tmp-1691080690.4898582-2020742-62300060939991="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080690.4898582-2020742-62300060939991 `" ) && sleep 0'
  593. Using module file /home/pieter/.ansible/collections/ansible_collections/community/general/plugins/modules/proxmox_kvm.py
  594. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmpkvnv7qwm TO /home/pieter/.ansible/tmp/ansible-tmp-1691080690.4898582-2020742-62300060939991/AnsiballZ_proxmox_kvm.py
  595. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080690.4898582-2020742-62300060939991/ /home/pieter/.ansible/tmp/ansible-tmp-1691080690.4898582-2020742-62300060939991/AnsiballZ_proxmox_kvm.py && sleep 0'
  596. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=dbglhlgaorgbbpptxlgvrojzguvswxfn] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-dbglhlgaorgbbpptxlgvrojzguvswxfn ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080690.4898582-2020742-62300060939991/AnsiballZ_proxmox_kvm.py'"'"' && sleep 0'
  597. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080690.4898582-2020742-62300060939991/ > /dev/null 2>&1 && sleep 0'
  598. changed: [localhost] => (item={'id': '9001', 'name': 'ubuntu-jammy-template', 'tags': ['ubuntu', 'jammy', 'cloud-image'], 'file': '/data/install/images/jammy-server-cloudimg-amd64.img', 'disk': '/data/install/images/jammy-server-cloudimg-amd64-disk.img', 'url': 'https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img'}) => {
  599. "ansible_loop_var": "item",
  600. "changed": true,
  601. "invocation": {
  602. "module_args": {
  603. "acpi": null,
  604. "agent": null,
  605. "api_host": "localhost",
  606. "api_password": null,
  607. "api_token_id": "ansible_pve_token",
  608. "api_token_secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
  609. "api_user": "root@pam",
  610. "archive": null,
  611. "args": null,
  612. "autostart": null,
  613. "balloon": null,
  614. "bios": null,
  615. "boot": null,
  616. "bootdisk": null,
  617. "cicustom": null,
  618. "cipassword": null,
  619. "citype": null,
  620. "ciuser": null,
  621. "clone": null,
  622. "cores": null,
  623. "cpu": null,
  624. "cpulimit": null,
  625. "cpuunits": null,
  626. "delete": null,
  627. "description": null,
  628. "digest": null,
  629. "efidisk0": null,
  630. "force": null,
  631. "format": null,
  632. "freeze": null,
  633. "full": true,
  634. "hostpci": null,
  635. "hotplug": null,
  636. "hugepages": null,
  637. "ide": null,
  638. "ipconfig": null,
  639. "keyboard": null,
  640. "kvm": null,
  641. "localtime": null,
  642. "lock": null,
  643. "machine": null,
  644. "memory": null,
  645. "migrate": false,
  646. "migrate_downtime": null,
  647. "migrate_speed": null,
  648. "name": null,
  649. "nameservers": null,
  650. "net": null,
  651. "newid": null,
  652. "node": "localhost",
  653. "numa": null,
  654. "numa_enabled": null,
  655. "onboot": null,
  656. "ostype": null,
  657. "parallel": null,
  658. "pool": null,
  659. "protection": null,
  660. "proxmox_default_behavior": "no_defaults",
  661. "reboot": null,
  662. "revert": null,
  663. "sata": null,
  664. "scsi": null,
  665. "scsihw": null,
  666. "searchdomains": null,
  667. "serial": null,
  668. "shares": null,
  669. "skiplock": null,
  670. "smbios": null,
  671. "snapname": null,
  672. "sockets": null,
  673. "sshkeys": null,
  674. "startdate": null,
  675. "startup": null,
  676. "state": "absent",
  677. "storage": null,
  678. "tablet": null,
  679. "tags": null,
  680. "target": null,
  681. "tdf": null,
  682. "template": null,
  683. "timeout": 30,
  684. "tpmstate0": null,
  685. "update": false,
  686. "validate_certs": false,
  687. "vcpus": null,
  688. "vga": null,
  689. "virtio": null,
  690. "vmid": 9001,
  691. "watchdog": null
  692. }
  693. },
  694. "item": {
  695. "disk": "/data/install/images/jammy-server-cloudimg-amd64-disk.img",
  696. "file": "/data/install/images/jammy-server-cloudimg-amd64.img",
  697. "id": "9001",
  698. "name": "ubuntu-jammy-template",
  699. "tags": [
  700. "ubuntu",
  701. "jammy",
  702. "cloud-image"
  703. ],
  704. "url": "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
  705. },
  706. "msg": "VM 9001 removed",
  707. "vmid": 9001
  708. }
  709. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  710. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080692.9743707-2020742-212193440856349 `" && echo ansible-tmp-1691080692.9743707-2020742-212193440856349="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080692.9743707-2020742-212193440856349 `" ) && sleep 0'
  711. Using module file /home/pieter/.ansible/collections/ansible_collections/community/general/plugins/modules/proxmox_kvm.py
  712. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmpc8hg3x7g TO /home/pieter/.ansible/tmp/ansible-tmp-1691080692.9743707-2020742-212193440856349/AnsiballZ_proxmox_kvm.py
  713. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080692.9743707-2020742-212193440856349/ /home/pieter/.ansible/tmp/ansible-tmp-1691080692.9743707-2020742-212193440856349/AnsiballZ_proxmox_kvm.py && sleep 0'
  714. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=jlniobcfgnxxktqskjldttimtjliyktf] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-jlniobcfgnxxktqskjldttimtjliyktf ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080692.9743707-2020742-212193440856349/AnsiballZ_proxmox_kvm.py'"'"' && sleep 0'
  715. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080692.9743707-2020742-212193440856349/ > /dev/null 2>&1 && sleep 0'
  716. changed: [localhost] => (item={'id': '9002', 'name': 'debian-bookworm-template', 'tags': 'debian,bookworm,cloud-image', 'file': '/data/install/images/debian-12-genericcloud-amd64.qcow2', 'disk': '/data/install/images/debian-12-genericcloud-amd64-disk.qcow2', 'url': 'https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2'}) => {
  717. "ansible_loop_var": "item",
  718. "changed": true,
  719. "invocation": {
  720. "module_args": {
  721. "acpi": null,
  722. "agent": null,
  723. "api_host": "localhost",
  724. "api_password": null,
  725. "api_token_id": "ansible_pve_token",
  726. "api_token_secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
  727. "api_user": "root@pam",
  728. "archive": null,
  729. "args": null,
  730. "autostart": null,
  731. "balloon": null,
  732. "bios": null,
  733. "boot": null,
  734. "bootdisk": null,
  735. "cicustom": null,
  736. "cipassword": null,
  737. "citype": null,
  738. "ciuser": null,
  739. "clone": null,
  740. "cores": null,
  741. "cpu": null,
  742. "cpulimit": null,
  743. "cpuunits": null,
  744. "delete": null,
  745. "description": null,
  746. "digest": null,
  747. "efidisk0": null,
  748. "force": null,
  749. "format": null,
  750. "freeze": null,
  751. "full": true,
  752. "hostpci": null,
  753. "hotplug": null,
  754. "hugepages": null,
  755. "ide": null,
  756. "ipconfig": null,
  757. "keyboard": null,
  758. "kvm": null,
  759. "localtime": null,
  760. "lock": null,
  761. "machine": null,
  762. "memory": null,
  763. "migrate": false,
  764. "migrate_downtime": null,
  765. "migrate_speed": null,
  766. "name": null,
  767. "nameservers": null,
  768. "net": null,
  769. "newid": null,
  770. "node": "localhost",
  771. "numa": null,
  772. "numa_enabled": null,
  773. "onboot": null,
  774. "ostype": null,
  775. "parallel": null,
  776. "pool": null,
  777. "protection": null,
  778. "proxmox_default_behavior": "no_defaults",
  779. "reboot": null,
  780. "revert": null,
  781. "sata": null,
  782. "scsi": null,
  783. "scsihw": null,
  784. "searchdomains": null,
  785. "serial": null,
  786. "shares": null,
  787. "skiplock": null,
  788. "smbios": null,
  789. "snapname": null,
  790. "sockets": null,
  791. "sshkeys": null,
  792. "startdate": null,
  793. "startup": null,
  794. "state": "absent",
  795. "storage": null,
  796. "tablet": null,
  797. "tags": null,
  798. "target": null,
  799. "tdf": null,
  800. "template": null,
  801. "timeout": 30,
  802. "tpmstate0": null,
  803. "update": false,
  804. "validate_certs": false,
  805. "vcpus": null,
  806. "vga": null,
  807. "virtio": null,
  808. "vmid": 9002,
  809. "watchdog": null
  810. }
  811. },
  812. "item": {
  813. "disk": "/data/install/images/debian-12-genericcloud-amd64-disk.qcow2",
  814. "file": "/data/install/images/debian-12-genericcloud-amd64.qcow2",
  815. "id": "9002",
  816. "name": "debian-bookworm-template",
  817. "tags": "debian,bookworm,cloud-image",
  818. "url": "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
  819. },
  820. "msg": "VM 9002 removed",
  821. "vmid": 9002
  822. }
  823.  
  824. TASK [Create VM] *************************************************************************************************************************************************************************************************************************************************************
  825. task path: /home/pieter/HomeAutomation/Ansible/tasks/cloud_init3.yml:80
  826. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: pieter
  827. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  828. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080695.3593502-2022205-1279766080967 `" && echo ansible-tmp-1691080695.3593502-2022205-1279766080967="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080695.3593502-2022205-1279766080967 `" ) && sleep 0'
  829. Using module file /home/pieter/.ansible/collections/ansible_collections/community/general/plugins/modules/proxmox_kvm.py
  830. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmp1xqpz3mz TO /home/pieter/.ansible/tmp/ansible-tmp-1691080695.3593502-2022205-1279766080967/AnsiballZ_proxmox_kvm.py
  831. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080695.3593502-2022205-1279766080967/ /home/pieter/.ansible/tmp/ansible-tmp-1691080695.3593502-2022205-1279766080967/AnsiballZ_proxmox_kvm.py && sleep 0'
  832. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=clzifmaynjrzgrnwwpnoctkstkboowmd] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-clzifmaynjrzgrnwwpnoctkstkboowmd ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080695.3593502-2022205-1279766080967/AnsiballZ_proxmox_kvm.py'"'"' && sleep 0'
  833. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080695.3593502-2022205-1279766080967/ > /dev/null 2>&1 && sleep 0'
  834. changed: [localhost] => (item={'id': '9001', 'name': 'ubuntu-jammy-template', 'tags': ['ubuntu', 'jammy', 'cloud-image'], 'file': '/data/install/images/jammy-server-cloudimg-amd64.img', 'disk': '/data/install/images/jammy-server-cloudimg-amd64-disk.img', 'url': 'https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img'}) => {
  835. "ansible_loop_var": "item",
  836. "changed": true,
  837. "devices": {
  838. "ide2": "vmdata:vm-9001-cloudinit"
  839. },
  840. "invocation": {
  841. "module_args": {
  842. "acpi": null,
  843. "agent": "enabled=1",
  844. "api_host": "127.0.0.1",
  845. "api_password": null,
  846. "api_token_id": "ansible_pve_token",
  847. "api_token_secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
  848. "api_user": "root@pam",
  849. "archive": null,
  850. "args": null,
  851. "autostart": null,
  852. "balloon": null,
  853. "bios": null,
  854. "boot": "order=scsi0",
  855. "bootdisk": null,
  856. "cicustom": null,
  857. "cipassword": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
  858. "citype": null,
  859. "ciuser": "pieter",
  860. "clone": null,
  861. "cores": 2,
  862. "cpu": null,
  863. "cpulimit": null,
  864. "cpuunits": null,
  865. "delete": null,
  866. "description": null,
  867. "digest": null,
  868. "efidisk0": null,
  869. "force": null,
  870. "format": null,
  871. "freeze": null,
  872. "full": true,
  873. "hostpci": null,
  874. "hotplug": null,
  875. "hugepages": null,
  876. "ide": {
  877. "ide2": "vmdata:cloudinit"
  878. },
  879. "ipconfig": {
  880. "ipconfig0": "ip=dhcp"
  881. },
  882. "keyboard": null,
  883. "kvm": null,
  884. "localtime": null,
  885. "lock": null,
  886. "machine": null,
  887. "memory": 4096,
  888. "migrate": false,
  889. "migrate_downtime": null,
  890. "migrate_speed": null,
  891. "name": "ubuntu-jammy-template",
  892. "net": {
  893. "net0": "virtio,bridge=vmbr1"
  894. },
  895. "newid": null,
  896. "node": "server-1",
  897. "numa": null,
  898. "numa_enabled": null,
  899. "onboot": false,
  900. "ostype": "l26",
  901. "parallel": null,
  902. "pool": null,
  903. "protection": null,
  904. "proxmox_default_behavior": "no_defaults",
  905. "reboot": null,
  906. "revert": null,
  907. "sata": null,
  908. "scsi": null,
  909. "scsihw": "virtio-scsi-pci",
  910. "serial": null,
  911. "shares": null,
  912. "skiplock": null,
  913. "smbios": null,
  914. "snapname": null,
  915. "sockets": null,
  916. "sshkeys": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKhUZslPHARlFH0rpVheirXfSv/H0VL5EoBHsItszT2R piete@Pieter-Desktop",
  917. "startdate": null,
  918. "startup": null,
  919. "state": "present",
  920. "storage": null,
  921. "tablet": null,
  922. "tags": [
  923. "ubuntu",
  924. "jammy",
  925. "cloud-image"
  926. ],
  927. "target": null,
  928. "tdf": null,
  929. "template": null,
  930. "timeout": 30,
  931. "tpmstate0": null,
  932. "update": false,
  933. "validate_certs": false,
  934. "vcpus": null,
  935. "vga": null,
  936. "virtio": null,
  937. "vmid": 9001,
  938. "watchdog": null
  939. }
  940. },
  941. "item": {
  942. "disk": "/data/install/images/jammy-server-cloudimg-amd64-disk.img",
  943. "file": "/data/install/images/jammy-server-cloudimg-amd64.img",
  944. "id": "9001",
  945. "name": "ubuntu-jammy-template",
  946. "tags": [
  947. "ubuntu",
  948. "jammy",
  949. "cloud-image"
  950. ],
  951. "url": "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
  952. },
  953. "mac": {
  954. "net0": "5A:08:7A:B6:57:72"
  955. },
  956. "msg": "VM ubuntu-jammy-template with vmid 9001 deployed",
  957. "vmid": 9001
  958. }
  959. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  960. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080697.7307942-2022205-245275235785570 `" && echo ansible-tmp-1691080697.7307942-2022205-245275235785570="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080697.7307942-2022205-245275235785570 `" ) && sleep 0'
  961. Using module file /home/pieter/.ansible/collections/ansible_collections/community/general/plugins/modules/proxmox_kvm.py
  962. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmpxf2v9d8e TO /home/pieter/.ansible/tmp/ansible-tmp-1691080697.7307942-2022205-245275235785570/AnsiballZ_proxmox_kvm.py
  963. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080697.7307942-2022205-245275235785570/ /home/pieter/.ansible/tmp/ansible-tmp-1691080697.7307942-2022205-245275235785570/AnsiballZ_proxmox_kvm.py && sleep 0'
  964. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=gratelhwtpaxrixponesekckwdqnvxxn] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-gratelhwtpaxrixponesekckwdqnvxxn ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080697.7307942-2022205-245275235785570/AnsiballZ_proxmox_kvm.py'"'"' && sleep 0'
  965. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080697.7307942-2022205-245275235785570/ > /dev/null 2>&1 && sleep 0'
  966. changed: [localhost] => (item={'id': '9002', 'name': 'debian-bookworm-template', 'tags': 'debian,bookworm,cloud-image', 'file': '/data/install/images/debian-12-genericcloud-amd64.qcow2', 'disk': '/data/install/images/debian-12-genericcloud-amd64-disk.qcow2', 'url': 'https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2'}) => {
  967. "ansible_loop_var": "item",
  968. "changed": true,
  969. "devices": {
  970. "ide2": "vmdata:vm-9002-cloudinit"
  971. },
  972. "invocation": {
  973. "module_args": {
  974. "acpi": null,
  975. "agent": "enabled=1",
  976. "api_host": "127.0.0.1",
  977. "api_password": null,
  978. "api_token_id": "ansible_pve_token",
  979. "api_token_secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
  980. "api_user": "root@pam",
  981. "archive": null,
  982. "args": null,
  983. "autostart": null,
  984. "balloon": null,
  985. "bios": null,
  986. "boot": "order=scsi0",
  987. "bootdisk": null,
  988. "cicustom": null,
  989. "cipassword": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
  990. "citype": null,
  991. "ciuser": "pieter",
  992. "clone": null,
  993. "cores": 2,
  994. "cpu": null,
  995. "cpulimit": null,
  996. "cpuunits": null,
  997. "delete": null,
  998. "description": null,
  999. "digest": null,
  1000. "efidisk0": null,
  1001. "force": null,
  1002. "format": null,
  1003. "freeze": null,
  1004. "full": true,
  1005. "hostpci": null,
  1006. "hotplug": null,
  1007. "hugepages": null,
  1008. "ide": {
  1009. "ide2": "vmdata:cloudinit"
  1010. },
  1011. "ipconfig": {
  1012. "ipconfig0": "ip=dhcp"
  1013. },
  1014. "keyboard": null,
  1015. "kvm": null,
  1016. "localtime": null,
  1017. "lock": null,
  1018. "machine": null,
  1019. "memory": 4096,
  1020. "migrate": false,
  1021. "migrate_downtime": null,
  1022. "migrate_speed": null,
  1023. "name": "debian-bookworm-template",
  1024. "net": {
  1025. "net0": "virtio,bridge=vmbr1"
  1026. },
  1027. "newid": null,
  1028. "node": "server-1",
  1029. "numa": null,
  1030. "numa_enabled": null,
  1031. "onboot": false,
  1032. "ostype": "l26",
  1033. "parallel": null,
  1034. "pool": null,
  1035. "protection": null,
  1036. "proxmox_default_behavior": "no_defaults",
  1037. "reboot": null,
  1038. "revert": null,
  1039. "sata": null,
  1040. "scsi": null,
  1041. "scsihw": "virtio-scsi-pci",
  1042. "serial": null,
  1043. "shares": null,
  1044. "skiplock": null,
  1045. "smbios": null,
  1046. "snapname": null,
  1047. "sockets": null,
  1048. "sshkeys": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKhUZslPHARlFH0rpVheirXfSv/H0VL5EoBHsItszT2R piete@Pieter-Desktop",
  1049. "startdate": null,
  1050. "startup": null,
  1051. "state": "present",
  1052. "storage": null,
  1053. "tablet": null,
  1054. "tags": [
  1055. "debian",
  1056. "bookworm",
  1057. "cloud-image"
  1058. ],
  1059. "target": null,
  1060. "tdf": null,
  1061. "template": null,
  1062. "timeout": 30,
  1063. "tpmstate0": null,
  1064. "update": false,
  1065. "validate_certs": false,
  1066. "vcpus": null,
  1067. "vga": null,
  1068. "virtio": null,
  1069. "vmid": 9002,
  1070. "watchdog": null
  1071. }
  1072. },
  1073. "item": {
  1074. "disk": "/data/install/images/debian-12-genericcloud-amd64-disk.qcow2",
  1075. "file": "/data/install/images/debian-12-genericcloud-amd64.qcow2",
  1076. "id": "9002",
  1077. "name": "debian-bookworm-template",
  1078. "tags": "debian,bookworm,cloud-image",
  1079. "url": "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
  1080. },
  1081. "mac": {
  1082. "net0": "E2:87:21:5C:D2:E6"
  1083. },
  1084. "msg": "VM debian-bookworm-template with vmid 9002 deployed",
  1085. "vmid": 9002
  1086. }
  1087.  
  1088. TASK [Add disk image] ********************************************************************************************************************************************************************************************************************************************************
  1089. task path: /home/pieter/HomeAutomation/Ansible/tasks/cloud_init3.yml:114
  1090. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: pieter
  1091. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  1092. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080700.1373641-2023371-112593693479794 `" && echo ansible-tmp-1691080700.1373641-2023371-112593693479794="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080700.1373641-2023371-112593693479794 `" ) && sleep 0'
  1093. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/command.py
  1094. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmp5_j3xhjr TO /home/pieter/.ansible/tmp/ansible-tmp-1691080700.1373641-2023371-112593693479794/AnsiballZ_command.py
  1095. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080700.1373641-2023371-112593693479794/ /home/pieter/.ansible/tmp/ansible-tmp-1691080700.1373641-2023371-112593693479794/AnsiballZ_command.py && sleep 0'
  1096. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=oqhufazbtisilxpundawrkcowwzqrmln] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-oqhufazbtisilxpundawrkcowwzqrmln ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080700.1373641-2023371-112593693479794/AnsiballZ_command.py'"'"' && sleep 0'
  1097. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080700.1373641-2023371-112593693479794/ > /dev/null 2>&1 && sleep 0'
  1098. changed: [localhost] => (item={'id': '9001', 'name': 'ubuntu-jammy-template', 'tags': ['ubuntu', 'jammy', 'cloud-image'], 'file': '/data/install/images/jammy-server-cloudimg-amd64.img', 'disk': '/data/install/images/jammy-server-cloudimg-amd64-disk.img', 'url': 'https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img'}) => {
  1099. "ansible_loop_var": "item",
  1100. "changed": true,
  1101. "cmd": [
  1102. "qm",
  1103. "set",
  1104. "9001",
  1105. "--scsi0",
  1106. "vmdata:0,import-from=/data/install/images/jammy-server-cloudimg-amd64-disk.img"
  1107. ],
  1108. "delta": "0:00:04.898244",
  1109. "end": "2023-08-03 09:38:25.204661",
  1110. "invocation": {
  1111. "module_args": {
  1112. "_raw_params": "qm set 9001 --scsi0 vmdata:0,import-from=/data/install/images/jammy-server-cloudimg-amd64-disk.img",
  1113. "_uses_shell": false,
  1114. "argv": null,
  1115. "chdir": null,
  1116. "creates": null,
  1117. "executable": null,
  1118. "removes": null,
  1119. "stdin": null,
  1120. "stdin_add_newline": true,
  1121. "strip_empty_ends": true
  1122. }
  1123. },
  1124. "item": {
  1125. "disk": "/data/install/images/jammy-server-cloudimg-amd64-disk.img",
  1126. "file": "/data/install/images/jammy-server-cloudimg-amd64.img",
  1127. "id": "9001",
  1128. "name": "ubuntu-jammy-template",
  1129. "tags": [
  1130. "ubuntu",
  1131. "jammy",
  1132. "cloud-image"
  1133. ],
  1134. "url": "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
  1135. },
  1136. "msg": "",
  1137. "rc": 0,
  1138. "start": "2023-08-03 09:38:20.306417",
  1139. "stderr": "",
  1140. "stderr_lines": [],
  1141. "stdout": "update VM 9001: -scsi0 vmdata:0,import-from=/data/install/images/jammy-server-cloudimg-amd64-disk.img\ntransferred 0.0 B of 2.2 GiB (0.00%)\ntransferred 22.5 MiB of 2.2 GiB (1.00%)\ntransferred 45.0 MiB of 2.2 GiB (2.00%)\ntransferred 67.6 MiB of 2.2 GiB (3.00%)\ntransferred 90.8 MiB of 2.2 GiB (4.03%)\ntransferred 113.3 MiB of 2.2 GiB (5.03%)\ntransferred 135.8 MiB of 2.2 GiB (6.03%)\ntransferred 158.3 MiB of 2.2 GiB (7.03%)\ntransferred 180.8 MiB of 2.2 GiB (8.03%)\ntransferred 203.4 MiB of 2.2 GiB (9.03%)\ntransferred 225.9 MiB of 2.2 GiB (10.03%)\ntransferred 248.4 MiB of 2.2 GiB (11.03%)\ntransferred 270.9 MiB of 2.2 GiB (12.03%)\ntransferred 293.7 MiB of 2.2 GiB (13.04%)\ntransferred 316.2 MiB of 2.2 GiB (14.04%)\ntransferred 338.7 MiB of 2.2 GiB (15.04%)\ntransferred 361.2 MiB of 2.2 GiB (16.04%)\ntransferred 383.7 MiB of 2.2 GiB (17.04%)\ntransferred 406.3 MiB of 2.2 GiB (18.04%)\ntransferred 428.8 MiB of 2.2 GiB (19.04%)\ntransferred 451.3 MiB of 2.2 GiB (20.04%)\ntransferred 473.8 MiB of 2.2 GiB (21.04%)\ntransferred 496.3 MiB of 2.2 GiB (22.04%)\ntransferred 518.9 MiB of 2.2 GiB (23.04%)\ntransferred 541.6 MiB of 2.2 GiB (24.05%)\ntransferred 564.1 MiB of 2.2 GiB (25.05%)\ntransferred 586.6 MiB of 2.2 GiB (26.05%)\ntransferred 609.2 MiB of 2.2 GiB (27.05%)\ntransferred 631.7 MiB of 2.2 GiB (28.05%)\ntransferred 654.2 MiB of 2.2 GiB (29.05%)\ntransferred 676.7 MiB of 2.2 GiB (30.05%)\ntransferred 699.2 MiB of 2.2 GiB (31.05%)\ntransferred 721.8 MiB of 2.2 GiB (32.05%)\ntransferred 744.3 MiB of 2.2 GiB (33.05%)\ntransferred 766.8 MiB of 2.2 GiB (34.05%)\ntransferred 789.3 MiB of 2.2 GiB (35.05%)\ntransferred 812.1 MiB of 2.2 GiB (36.06%)\ntransferred 834.6 MiB of 2.2 GiB (37.06%)\ntransferred 857.1 MiB of 2.2 GiB (38.06%)\ntransferred 879.6 MiB of 2.2 GiB (39.06%)\ntransferred 902.2 MiB of 2.2 GiB (40.06%)\ntransferred 924.7 MiB of 2.2 GiB (41.06%)\ntransferred 947.2 MiB of 2.2 GiB (42.06%)\ntransferred 969.7 MiB of 2.2 GiB (43.06%)\ntransferred 992.2 MiB of 2.2 GiB (44.06%)\ntransferred 1014.8 MiB of 2.2 GiB (45.06%)\ntransferred 1.0 GiB of 2.2 GiB (46.06%)\ntransferred 1.0 GiB of 2.2 GiB (47.06%)\ntransferred 1.1 GiB of 2.2 GiB (48.07%)\ntransferred 1.1 GiB of 2.2 GiB (49.07%)\ntransferred 1.1 GiB of 2.2 GiB (50.07%)\ntransferred 1.1 GiB of 2.2 GiB (51.07%)\ntransferred 1.1 GiB of 2.2 GiB (52.07%)\ntransferred 1.2 GiB of 2.2 GiB (53.07%)\ntransferred 1.2 GiB of 2.2 GiB (54.07%)\ntransferred 1.2 GiB of 2.2 GiB (55.07%)\ntransferred 1.2 GiB of 2.2 GiB (56.07%)\ntransferred 1.3 GiB of 2.2 GiB (57.07%)\ntransferred 1.3 GiB of 2.2 GiB (58.07%)\ntransferred 1.3 GiB of 2.2 GiB (59.07%)\ntransferred 1.3 GiB of 2.2 GiB (60.08%)\ntransferred 1.3 GiB of 2.2 GiB (61.08%)\ntransferred 1.4 GiB of 2.2 GiB (62.08%)\ntransferred 1.4 GiB of 2.2 GiB (63.08%)\ntransferred 1.4 GiB of 2.2 GiB (64.08%)\ntransferred 1.4 GiB of 2.2 GiB (65.08%)\ntransferred 1.5 GiB of 2.2 GiB (66.08%)\ntransferred 1.5 GiB of 2.2 GiB (67.08%)\ntransferred 1.5 GiB of 2.2 GiB (68.08%)\ntransferred 1.5 GiB of 2.2 GiB (69.12%)\ntransferred 1.5 GiB of 2.2 GiB (70.13%)\ntransferred 1.6 GiB of 2.2 GiB (71.18%)\ntransferred 1.6 GiB of 2.2 GiB (72.18%)\ntransferred 1.6 GiB of 2.2 GiB (73.26%)\ntransferred 1.6 GiB of 2.2 GiB (74.28%)\ntransferred 1.7 GiB of 2.2 GiB (75.35%)\ntransferred 1.7 GiB of 2.2 GiB (76.36%)\ntransferred 1.7 GiB of 2.2 GiB (77.37%)\ntransferred 1.7 GiB of 2.2 GiB (78.38%)\ntransferred 1.7 GiB of 2.2 GiB (79.41%)\ntransferred 1.8 GiB of 2.2 GiB (80.46%)\ntransferred 1.8 GiB of 2.2 GiB (81.47%)\ntransferred 1.8 GiB of 2.2 GiB (82.49%)\ntransferred 1.8 GiB of 2.2 GiB (83.51%)\ntransferred 1.9 GiB of 2.2 GiB (84.51%)\ntransferred 1.9 GiB of 2.2 GiB (85.51%)\ntransferred 1.9 GiB of 2.2 GiB (86.52%)\ntransferred 1.9 GiB of 2.2 GiB (87.53%)\ntransferred 1.9 GiB of 2.2 GiB (88.58%)\ntransferred 2.0 GiB of 2.2 GiB (89.60%)\ntransferred 2.0 GiB of 2.2 GiB (90.66%)\ntransferred 2.0 GiB of 2.2 GiB (91.68%)\ntransferred 2.0 GiB of 2.2 GiB (92.76%)\ntransferred 2.1 GiB of 2.2 GiB (93.76%)\ntransferred 2.1 GiB of 2.2 GiB (94.86%)\ntransferred 2.1 GiB of 2.2 GiB (95.88%)\ntransferred 2.1 GiB of 2.2 GiB (96.96%)\ntransferred 2.2 GiB of 2.2 GiB (97.97%)\ntransferred 2.2 GiB of 2.2 GiB (98.99%)\ntransferred 2.2 GiB of 2.2 GiB (100.00%)\ntransferred 2.2 GiB of 2.2 GiB (100.00%)\ntransferred 2.2 GiB of 2.2 GiB (100.00%)\nscsi0: successfully created disk 'vmdata:vm-9001-disk-0,size=2252M'",
  1142. "stdout_lines": [
  1143. "update VM 9001: -scsi0 vmdata:0,import-from=/data/install/images/jammy-server-cloudimg-amd64-disk.img",
  1144. "transferred 0.0 B of 2.2 GiB (0.00%)",
  1145. "transferred 22.5 MiB of 2.2 GiB (1.00%)",
  1146. "transferred 45.0 MiB of 2.2 GiB (2.00%)",
  1147. "transferred 67.6 MiB of 2.2 GiB (3.00%)",
  1148. "transferred 90.8 MiB of 2.2 GiB (4.03%)",
  1149. "transferred 113.3 MiB of 2.2 GiB (5.03%)",
  1150. "transferred 135.8 MiB of 2.2 GiB (6.03%)",
  1151. "transferred 158.3 MiB of 2.2 GiB (7.03%)",
  1152. "transferred 180.8 MiB of 2.2 GiB (8.03%)",
  1153. "transferred 203.4 MiB of 2.2 GiB (9.03%)",
  1154. "transferred 225.9 MiB of 2.2 GiB (10.03%)",
  1155. "transferred 248.4 MiB of 2.2 GiB (11.03%)",
  1156. "transferred 270.9 MiB of 2.2 GiB (12.03%)",
  1157. "transferred 293.7 MiB of 2.2 GiB (13.04%)",
  1158. "transferred 316.2 MiB of 2.2 GiB (14.04%)",
  1159. "transferred 338.7 MiB of 2.2 GiB (15.04%)",
  1160. "transferred 361.2 MiB of 2.2 GiB (16.04%)",
  1161. "transferred 383.7 MiB of 2.2 GiB (17.04%)",
  1162. "transferred 406.3 MiB of 2.2 GiB (18.04%)",
  1163. "transferred 428.8 MiB of 2.2 GiB (19.04%)",
  1164. "transferred 451.3 MiB of 2.2 GiB (20.04%)",
  1165. "transferred 473.8 MiB of 2.2 GiB (21.04%)",
  1166. "transferred 496.3 MiB of 2.2 GiB (22.04%)",
  1167. "transferred 518.9 MiB of 2.2 GiB (23.04%)",
  1168. "transferred 541.6 MiB of 2.2 GiB (24.05%)",
  1169. "transferred 564.1 MiB of 2.2 GiB (25.05%)",
  1170. "transferred 586.6 MiB of 2.2 GiB (26.05%)",
  1171. "transferred 609.2 MiB of 2.2 GiB (27.05%)",
  1172. "transferred 631.7 MiB of 2.2 GiB (28.05%)",
  1173. "transferred 654.2 MiB of 2.2 GiB (29.05%)",
  1174. "transferred 676.7 MiB of 2.2 GiB (30.05%)",
  1175. "transferred 699.2 MiB of 2.2 GiB (31.05%)",
  1176. "transferred 721.8 MiB of 2.2 GiB (32.05%)",
  1177. "transferred 744.3 MiB of 2.2 GiB (33.05%)",
  1178. "transferred 766.8 MiB of 2.2 GiB (34.05%)",
  1179. "transferred 789.3 MiB of 2.2 GiB (35.05%)",
  1180. "transferred 812.1 MiB of 2.2 GiB (36.06%)",
  1181. "transferred 834.6 MiB of 2.2 GiB (37.06%)",
  1182. "transferred 857.1 MiB of 2.2 GiB (38.06%)",
  1183. "transferred 879.6 MiB of 2.2 GiB (39.06%)",
  1184. "transferred 902.2 MiB of 2.2 GiB (40.06%)",
  1185. "transferred 924.7 MiB of 2.2 GiB (41.06%)",
  1186. "transferred 947.2 MiB of 2.2 GiB (42.06%)",
  1187. "transferred 969.7 MiB of 2.2 GiB (43.06%)",
  1188. "transferred 992.2 MiB of 2.2 GiB (44.06%)",
  1189. "transferred 1014.8 MiB of 2.2 GiB (45.06%)",
  1190. "transferred 1.0 GiB of 2.2 GiB (46.06%)",
  1191. "transferred 1.0 GiB of 2.2 GiB (47.06%)",
  1192. "transferred 1.1 GiB of 2.2 GiB (48.07%)",
  1193. "transferred 1.1 GiB of 2.2 GiB (49.07%)",
  1194. "transferred 1.1 GiB of 2.2 GiB (50.07%)",
  1195. "transferred 1.1 GiB of 2.2 GiB (51.07%)",
  1196. "transferred 1.1 GiB of 2.2 GiB (52.07%)",
  1197. "transferred 1.2 GiB of 2.2 GiB (53.07%)",
  1198. "transferred 1.2 GiB of 2.2 GiB (54.07%)",
  1199. "transferred 1.2 GiB of 2.2 GiB (55.07%)",
  1200. "transferred 1.2 GiB of 2.2 GiB (56.07%)",
  1201. "transferred 1.3 GiB of 2.2 GiB (57.07%)",
  1202. "transferred 1.3 GiB of 2.2 GiB (58.07%)",
  1203. "transferred 1.3 GiB of 2.2 GiB (59.07%)",
  1204. "transferred 1.3 GiB of 2.2 GiB (60.08%)",
  1205. "transferred 1.3 GiB of 2.2 GiB (61.08%)",
  1206. "transferred 1.4 GiB of 2.2 GiB (62.08%)",
  1207. "transferred 1.4 GiB of 2.2 GiB (63.08%)",
  1208. "transferred 1.4 GiB of 2.2 GiB (64.08%)",
  1209. "transferred 1.4 GiB of 2.2 GiB (65.08%)",
  1210. "transferred 1.5 GiB of 2.2 GiB (66.08%)",
  1211. "transferred 1.5 GiB of 2.2 GiB (67.08%)",
  1212. "transferred 1.5 GiB of 2.2 GiB (68.08%)",
  1213. "transferred 1.5 GiB of 2.2 GiB (69.12%)",
  1214. "transferred 1.5 GiB of 2.2 GiB (70.13%)",
  1215. "transferred 1.6 GiB of 2.2 GiB (71.18%)",
  1216. "transferred 1.6 GiB of 2.2 GiB (72.18%)",
  1217. "transferred 1.6 GiB of 2.2 GiB (73.26%)",
  1218. "transferred 1.6 GiB of 2.2 GiB (74.28%)",
  1219. "transferred 1.7 GiB of 2.2 GiB (75.35%)",
  1220. "transferred 1.7 GiB of 2.2 GiB (76.36%)",
  1221. "transferred 1.7 GiB of 2.2 GiB (77.37%)",
  1222. "transferred 1.7 GiB of 2.2 GiB (78.38%)",
  1223. "transferred 1.7 GiB of 2.2 GiB (79.41%)",
  1224. "transferred 1.8 GiB of 2.2 GiB (80.46%)",
  1225. "transferred 1.8 GiB of 2.2 GiB (81.47%)",
  1226. "transferred 1.8 GiB of 2.2 GiB (82.49%)",
  1227. "transferred 1.8 GiB of 2.2 GiB (83.51%)",
  1228. "transferred 1.9 GiB of 2.2 GiB (84.51%)",
  1229. "transferred 1.9 GiB of 2.2 GiB (85.51%)",
  1230. "transferred 1.9 GiB of 2.2 GiB (86.52%)",
  1231. "transferred 1.9 GiB of 2.2 GiB (87.53%)",
  1232. "transferred 1.9 GiB of 2.2 GiB (88.58%)",
  1233. "transferred 2.0 GiB of 2.2 GiB (89.60%)",
  1234. "transferred 2.0 GiB of 2.2 GiB (90.66%)",
  1235. "transferred 2.0 GiB of 2.2 GiB (91.68%)",
  1236. "transferred 2.0 GiB of 2.2 GiB (92.76%)",
  1237. "transferred 2.1 GiB of 2.2 GiB (93.76%)",
  1238. "transferred 2.1 GiB of 2.2 GiB (94.86%)",
  1239. "transferred 2.1 GiB of 2.2 GiB (95.88%)",
  1240. "transferred 2.1 GiB of 2.2 GiB (96.96%)",
  1241. "transferred 2.2 GiB of 2.2 GiB (97.97%)",
  1242. "transferred 2.2 GiB of 2.2 GiB (98.99%)",
  1243. "transferred 2.2 GiB of 2.2 GiB (100.00%)",
  1244. "transferred 2.2 GiB of 2.2 GiB (100.00%)",
  1245. "transferred 2.2 GiB of 2.2 GiB (100.00%)",
  1246. "scsi0: successfully created disk 'vmdata:vm-9001-disk-0,size=2252M'"
  1247. ]
  1248. }
  1249. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  1250. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080705.2382784-2023371-7559057799472 `" && echo ansible-tmp-1691080705.2382784-2023371-7559057799472="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080705.2382784-2023371-7559057799472 `" ) && sleep 0'
  1251. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/command.py
  1252. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmpz_utcvzl TO /home/pieter/.ansible/tmp/ansible-tmp-1691080705.2382784-2023371-7559057799472/AnsiballZ_command.py
  1253. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080705.2382784-2023371-7559057799472/ /home/pieter/.ansible/tmp/ansible-tmp-1691080705.2382784-2023371-7559057799472/AnsiballZ_command.py && sleep 0'
  1254. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=pogrbtyqbiarrifhxjkzvshuiwsqlhkt] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-pogrbtyqbiarrifhxjkzvshuiwsqlhkt ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080705.2382784-2023371-7559057799472/AnsiballZ_command.py'"'"' && sleep 0'
  1255. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080705.2382784-2023371-7559057799472/ > /dev/null 2>&1 && sleep 0'
  1256. changed: [localhost] => (item={'id': '9002', 'name': 'debian-bookworm-template', 'tags': 'debian,bookworm,cloud-image', 'file': '/data/install/images/debian-12-genericcloud-amd64.qcow2', 'disk': '/data/install/images/debian-12-genericcloud-amd64-disk.qcow2', 'url': 'https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2'}) => {
  1257. "ansible_loop_var": "item",
  1258. "changed": true,
  1259. "cmd": [
  1260. "qm",
  1261. "set",
  1262. "9002",
  1263. "--scsi0",
  1264. "vmdata:0,import-from=/data/install/images/debian-12-genericcloud-amd64-disk.qcow2"
  1265. ],
  1266. "delta": "0:00:03.758108",
  1267. "end": "2023-08-03 09:38:29.159298",
  1268. "invocation": {
  1269. "module_args": {
  1270. "_raw_params": "qm set 9002 --scsi0 vmdata:0,import-from=/data/install/images/debian-12-genericcloud-amd64-disk.qcow2",
  1271. "_uses_shell": false,
  1272. "argv": null,
  1273. "chdir": null,
  1274. "creates": null,
  1275. "executable": null,
  1276. "removes": null,
  1277. "stdin": null,
  1278. "stdin_add_newline": true,
  1279. "strip_empty_ends": true
  1280. }
  1281. },
  1282. "item": {
  1283. "disk": "/data/install/images/debian-12-genericcloud-amd64-disk.qcow2",
  1284. "file": "/data/install/images/debian-12-genericcloud-amd64.qcow2",
  1285. "id": "9002",
  1286. "name": "debian-bookworm-template",
  1287. "tags": "debian,bookworm,cloud-image",
  1288. "url": "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
  1289. },
  1290. "msg": "",
  1291. "rc": 0,
  1292. "start": "2023-08-03 09:38:25.401190",
  1293. "stderr": "",
  1294. "stderr_lines": [],
  1295. "stdout": "update VM 9002: -scsi0 vmdata:0,import-from=/data/install/images/debian-12-genericcloud-amd64-disk.qcow2\ntransferred 0.0 B of 2.0 GiB (0.00%)\ntransferred 20.5 MiB of 2.0 GiB (1.00%)\ntransferred 41.0 MiB of 2.0 GiB (2.00%)\ntransferred 61.4 MiB of 2.0 GiB (3.00%)\ntransferred 85.8 MiB of 2.0 GiB (4.19%)\ntransferred 108.3 MiB of 2.0 GiB (5.29%)\ntransferred 130.0 MiB of 2.0 GiB (6.35%)\ntransferred 151.1 MiB of 2.0 GiB (7.38%)\ntransferred 173.7 MiB of 2.0 GiB (8.48%)\ntransferred 196.4 MiB of 2.0 GiB (9.59%)\ntransferred 219.5 MiB of 2.0 GiB (10.72%)\ntransferred 242.7 MiB of 2.0 GiB (11.85%)\ntransferred 266.9 MiB of 2.0 GiB (13.03%)\ntransferred 288.8 MiB of 2.0 GiB (14.10%)\ntransferred 311.7 MiB of 2.0 GiB (15.22%)\ntransferred 335.9 MiB of 2.0 GiB (16.40%)\ntransferred 356.4 MiB of 2.0 GiB (17.40%)\ntransferred 376.8 MiB of 2.0 GiB (18.40%)\ntransferred 397.3 MiB of 2.0 GiB (19.40%)\ntransferred 418.0 MiB of 2.0 GiB (20.41%)\ntransferred 438.5 MiB of 2.0 GiB (21.41%)\ntransferred 459.0 MiB of 2.0 GiB (22.41%)\ntransferred 479.4 MiB of 2.0 GiB (23.41%)\ntransferred 499.9 MiB of 2.0 GiB (24.41%)\ntransferred 520.4 MiB of 2.0 GiB (25.41%)\ntransferred 540.9 MiB of 2.0 GiB (26.41%)\ntransferred 561.4 MiB of 2.0 GiB (27.41%)\ntransferred 582.0 MiB of 2.0 GiB (28.42%)\ntransferred 602.5 MiB of 2.0 GiB (29.42%)\ntransferred 623.0 MiB of 2.0 GiB (30.42%)\ntransferred 643.5 MiB of 2.0 GiB (31.42%)\ntransferred 664.0 MiB of 2.0 GiB (32.42%)\ntransferred 684.4 MiB of 2.0 GiB (33.42%)\ntransferred 704.9 MiB of 2.0 GiB (34.42%)\ntransferred 725.4 MiB of 2.0 GiB (35.42%)\ntransferred 746.1 MiB of 2.0 GiB (36.43%)\ntransferred 766.6 MiB of 2.0 GiB (37.43%)\ntransferred 787.0 MiB of 2.0 GiB (38.43%)\ntransferred 807.5 MiB of 2.0 GiB (39.43%)\ntransferred 828.0 MiB of 2.0 GiB (40.43%)\ntransferred 848.5 MiB of 2.0 GiB (41.43%)\ntransferred 869.0 MiB of 2.0 GiB (42.43%)\ntransferred 889.4 MiB of 2.0 GiB (43.43%)\ntransferred 909.9 MiB of 2.0 GiB (44.43%)\ntransferred 930.6 MiB of 2.0 GiB (45.44%)\ntransferred 951.1 MiB of 2.0 GiB (46.44%)\ntransferred 971.6 MiB of 2.0 GiB (47.44%)\ntransferred 992.1 MiB of 2.0 GiB (48.44%)\ntransferred 1012.5 MiB of 2.0 GiB (49.44%)\ntransferred 1.0 GiB of 2.0 GiB (50.44%)\ntransferred 1.0 GiB of 2.0 GiB (51.44%)\ntransferred 1.0 GiB of 2.0 GiB (52.44%)\ntransferred 1.1 GiB of 2.0 GiB (53.45%)\ntransferred 1.1 GiB of 2.0 GiB (54.45%)\ntransferred 1.1 GiB of 2.0 GiB (55.45%)\ntransferred 1.1 GiB of 2.0 GiB (56.45%)\ntransferred 1.1 GiB of 2.0 GiB (57.45%)\ntransferred 1.2 GiB of 2.0 GiB (58.45%)\ntransferred 1.2 GiB of 2.0 GiB (59.45%)\ntransferred 1.2 GiB of 2.0 GiB (60.45%)\ntransferred 1.2 GiB of 2.0 GiB (61.46%)\ntransferred 1.2 GiB of 2.0 GiB (62.46%)\ntransferred 1.3 GiB of 2.0 GiB (63.57%)\ntransferred 1.3 GiB of 2.0 GiB (64.75%)\ntransferred 1.3 GiB of 2.0 GiB (65.93%)\ntransferred 1.3 GiB of 2.0 GiB (67.11%)\ntransferred 1.4 GiB of 2.0 GiB (68.29%)\ntransferred 1.4 GiB of 2.0 GiB (69.46%)\ntransferred 1.4 GiB of 2.0 GiB (70.46%)\ntransferred 1.4 GiB of 2.0 GiB (71.46%)\ntransferred 1.4 GiB of 2.0 GiB (72.46%)\ntransferred 1.5 GiB of 2.0 GiB (73.46%)\ntransferred 1.5 GiB of 2.0 GiB (74.47%)\ntransferred 1.5 GiB of 2.0 GiB (75.47%)\ntransferred 1.5 GiB of 2.0 GiB (76.47%)\ntransferred 1.5 GiB of 2.0 GiB (77.50%)\ntransferred 1.6 GiB of 2.0 GiB (78.50%)\ntransferred 1.6 GiB of 2.0 GiB (79.50%)\ntransferred 1.6 GiB of 2.0 GiB (80.50%)\ntransferred 1.6 GiB of 2.0 GiB (81.50%)\ntransferred 1.7 GiB of 2.0 GiB (82.51%)\ntransferred 1.7 GiB of 2.0 GiB (83.51%)\ntransferred 1.7 GiB of 2.0 GiB (84.51%)\ntransferred 1.7 GiB of 2.0 GiB (85.51%)\ntransferred 1.7 GiB of 2.0 GiB (86.51%)\ntransferred 1.8 GiB of 2.0 GiB (87.51%)\ntransferred 1.8 GiB of 2.0 GiB (88.51%)\ntransferred 1.8 GiB of 2.0 GiB (89.51%)\ntransferred 1.8 GiB of 2.0 GiB (90.52%)\ntransferred 1.8 GiB of 2.0 GiB (91.52%)\ntransferred 1.9 GiB of 2.0 GiB (92.52%)\ntransferred 1.9 GiB of 2.0 GiB (93.52%)\ntransferred 1.9 GiB of 2.0 GiB (94.52%)\ntransferred 1.9 GiB of 2.0 GiB (95.52%)\ntransferred 1.9 GiB of 2.0 GiB (96.52%)\ntransferred 2.0 GiB of 2.0 GiB (97.59%)\ntransferred 2.0 GiB of 2.0 GiB (98.59%)\ntransferred 2.0 GiB of 2.0 GiB (99.60%)\ntransferred 2.0 GiB of 2.0 GiB (100.00%)\ntransferred 2.0 GiB of 2.0 GiB (100.00%)\nscsi0: successfully created disk 'vmdata:vm-9002-disk-0,size=2G'",
  1296. "stdout_lines": [
  1297. "update VM 9002: -scsi0 vmdata:0,import-from=/data/install/images/debian-12-genericcloud-amd64-disk.qcow2",
  1298. "transferred 0.0 B of 2.0 GiB (0.00%)",
  1299. "transferred 20.5 MiB of 2.0 GiB (1.00%)",
  1300. "transferred 41.0 MiB of 2.0 GiB (2.00%)",
  1301. "transferred 61.4 MiB of 2.0 GiB (3.00%)",
  1302. "transferred 85.8 MiB of 2.0 GiB (4.19%)",
  1303. "transferred 108.3 MiB of 2.0 GiB (5.29%)",
  1304. "transferred 130.0 MiB of 2.0 GiB (6.35%)",
  1305. "transferred 151.1 MiB of 2.0 GiB (7.38%)",
  1306. "transferred 173.7 MiB of 2.0 GiB (8.48%)",
  1307. "transferred 196.4 MiB of 2.0 GiB (9.59%)",
  1308. "transferred 219.5 MiB of 2.0 GiB (10.72%)",
  1309. "transferred 242.7 MiB of 2.0 GiB (11.85%)",
  1310. "transferred 266.9 MiB of 2.0 GiB (13.03%)",
  1311. "transferred 288.8 MiB of 2.0 GiB (14.10%)",
  1312. "transferred 311.7 MiB of 2.0 GiB (15.22%)",
  1313. "transferred 335.9 MiB of 2.0 GiB (16.40%)",
  1314. "transferred 356.4 MiB of 2.0 GiB (17.40%)",
  1315. "transferred 376.8 MiB of 2.0 GiB (18.40%)",
  1316. "transferred 397.3 MiB of 2.0 GiB (19.40%)",
  1317. "transferred 418.0 MiB of 2.0 GiB (20.41%)",
  1318. "transferred 438.5 MiB of 2.0 GiB (21.41%)",
  1319. "transferred 459.0 MiB of 2.0 GiB (22.41%)",
  1320. "transferred 479.4 MiB of 2.0 GiB (23.41%)",
  1321. "transferred 499.9 MiB of 2.0 GiB (24.41%)",
  1322. "transferred 520.4 MiB of 2.0 GiB (25.41%)",
  1323. "transferred 540.9 MiB of 2.0 GiB (26.41%)",
  1324. "transferred 561.4 MiB of 2.0 GiB (27.41%)",
  1325. "transferred 582.0 MiB of 2.0 GiB (28.42%)",
  1326. "transferred 602.5 MiB of 2.0 GiB (29.42%)",
  1327. "transferred 623.0 MiB of 2.0 GiB (30.42%)",
  1328. "transferred 643.5 MiB of 2.0 GiB (31.42%)",
  1329. "transferred 664.0 MiB of 2.0 GiB (32.42%)",
  1330. "transferred 684.4 MiB of 2.0 GiB (33.42%)",
  1331. "transferred 704.9 MiB of 2.0 GiB (34.42%)",
  1332. "transferred 725.4 MiB of 2.0 GiB (35.42%)",
  1333. "transferred 746.1 MiB of 2.0 GiB (36.43%)",
  1334. "transferred 766.6 MiB of 2.0 GiB (37.43%)",
  1335. "transferred 787.0 MiB of 2.0 GiB (38.43%)",
  1336. "transferred 807.5 MiB of 2.0 GiB (39.43%)",
  1337. "transferred 828.0 MiB of 2.0 GiB (40.43%)",
  1338. "transferred 848.5 MiB of 2.0 GiB (41.43%)",
  1339. "transferred 869.0 MiB of 2.0 GiB (42.43%)",
  1340. "transferred 889.4 MiB of 2.0 GiB (43.43%)",
  1341. "transferred 909.9 MiB of 2.0 GiB (44.43%)",
  1342. "transferred 930.6 MiB of 2.0 GiB (45.44%)",
  1343. "transferred 951.1 MiB of 2.0 GiB (46.44%)",
  1344. "transferred 971.6 MiB of 2.0 GiB (47.44%)",
  1345. "transferred 992.1 MiB of 2.0 GiB (48.44%)",
  1346. "transferred 1012.5 MiB of 2.0 GiB (49.44%)",
  1347. "transferred 1.0 GiB of 2.0 GiB (50.44%)",
  1348. "transferred 1.0 GiB of 2.0 GiB (51.44%)",
  1349. "transferred 1.0 GiB of 2.0 GiB (52.44%)",
  1350. "transferred 1.1 GiB of 2.0 GiB (53.45%)",
  1351. "transferred 1.1 GiB of 2.0 GiB (54.45%)",
  1352. "transferred 1.1 GiB of 2.0 GiB (55.45%)",
  1353. "transferred 1.1 GiB of 2.0 GiB (56.45%)",
  1354. "transferred 1.1 GiB of 2.0 GiB (57.45%)",
  1355. "transferred 1.2 GiB of 2.0 GiB (58.45%)",
  1356. "transferred 1.2 GiB of 2.0 GiB (59.45%)",
  1357. "transferred 1.2 GiB of 2.0 GiB (60.45%)",
  1358. "transferred 1.2 GiB of 2.0 GiB (61.46%)",
  1359. "transferred 1.2 GiB of 2.0 GiB (62.46%)",
  1360. "transferred 1.3 GiB of 2.0 GiB (63.57%)",
  1361. "transferred 1.3 GiB of 2.0 GiB (64.75%)",
  1362. "transferred 1.3 GiB of 2.0 GiB (65.93%)",
  1363. "transferred 1.3 GiB of 2.0 GiB (67.11%)",
  1364. "transferred 1.4 GiB of 2.0 GiB (68.29%)",
  1365. "transferred 1.4 GiB of 2.0 GiB (69.46%)",
  1366. "transferred 1.4 GiB of 2.0 GiB (70.46%)",
  1367. "transferred 1.4 GiB of 2.0 GiB (71.46%)",
  1368. "transferred 1.4 GiB of 2.0 GiB (72.46%)",
  1369. "transferred 1.5 GiB of 2.0 GiB (73.46%)",
  1370. "transferred 1.5 GiB of 2.0 GiB (74.47%)",
  1371. "transferred 1.5 GiB of 2.0 GiB (75.47%)",
  1372. "transferred 1.5 GiB of 2.0 GiB (76.47%)",
  1373. "transferred 1.5 GiB of 2.0 GiB (77.50%)",
  1374. "transferred 1.6 GiB of 2.0 GiB (78.50%)",
  1375. "transferred 1.6 GiB of 2.0 GiB (79.50%)",
  1376. "transferred 1.6 GiB of 2.0 GiB (80.50%)",
  1377. "transferred 1.6 GiB of 2.0 GiB (81.50%)",
  1378. "transferred 1.7 GiB of 2.0 GiB (82.51%)",
  1379. "transferred 1.7 GiB of 2.0 GiB (83.51%)",
  1380. "transferred 1.7 GiB of 2.0 GiB (84.51%)",
  1381. "transferred 1.7 GiB of 2.0 GiB (85.51%)",
  1382. "transferred 1.7 GiB of 2.0 GiB (86.51%)",
  1383. "transferred 1.8 GiB of 2.0 GiB (87.51%)",
  1384. "transferred 1.8 GiB of 2.0 GiB (88.51%)",
  1385. "transferred 1.8 GiB of 2.0 GiB (89.51%)",
  1386. "transferred 1.8 GiB of 2.0 GiB (90.52%)",
  1387. "transferred 1.8 GiB of 2.0 GiB (91.52%)",
  1388. "transferred 1.9 GiB of 2.0 GiB (92.52%)",
  1389. "transferred 1.9 GiB of 2.0 GiB (93.52%)",
  1390. "transferred 1.9 GiB of 2.0 GiB (94.52%)",
  1391. "transferred 1.9 GiB of 2.0 GiB (95.52%)",
  1392. "transferred 1.9 GiB of 2.0 GiB (96.52%)",
  1393. "transferred 2.0 GiB of 2.0 GiB (97.59%)",
  1394. "transferred 2.0 GiB of 2.0 GiB (98.59%)",
  1395. "transferred 2.0 GiB of 2.0 GiB (99.60%)",
  1396. "transferred 2.0 GiB of 2.0 GiB (100.00%)",
  1397. "transferred 2.0 GiB of 2.0 GiB (100.00%)",
  1398. "scsi0: successfully created disk 'vmdata:vm-9002-disk-0,size=2G'"
  1399. ]
  1400. }
  1401.  
  1402. TASK [Resize disk image] *****************************************************************************************************************************************************************************************************************************************************
  1403. task path: /home/pieter/HomeAutomation/Ansible/tasks/cloud_init3.yml:119
  1404. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: pieter
  1405. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  1406. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080709.2349222-2068967-247064433470882 `" && echo ansible-tmp-1691080709.2349222-2068967-247064433470882="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080709.2349222-2068967-247064433470882 `" ) && sleep 0'
  1407. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/command.py
  1408. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmpqplwqmli TO /home/pieter/.ansible/tmp/ansible-tmp-1691080709.2349222-2068967-247064433470882/AnsiballZ_command.py
  1409. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080709.2349222-2068967-247064433470882/ /home/pieter/.ansible/tmp/ansible-tmp-1691080709.2349222-2068967-247064433470882/AnsiballZ_command.py && sleep 0'
  1410. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=rmbsjqunpaocfzhlwsetnjxqqdkddmgg] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-rmbsjqunpaocfzhlwsetnjxqqdkddmgg ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080709.2349222-2068967-247064433470882/AnsiballZ_command.py'"'"' && sleep 0'
  1411. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080709.2349222-2068967-247064433470882/ > /dev/null 2>&1 && sleep 0'
  1412. changed: [localhost] => (item={'id': '9001', 'name': 'ubuntu-jammy-template', 'tags': ['ubuntu', 'jammy', 'cloud-image'], 'file': '/data/install/images/jammy-server-cloudimg-amd64.img', 'disk': '/data/install/images/jammy-server-cloudimg-amd64-disk.img', 'url': 'https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img'}) => {
  1413. "ansible_loop_var": "item",
  1414. "changed": true,
  1415. "cmd": [
  1416. "qm",
  1417. "resize",
  1418. "9001",
  1419. "scsi0",
  1420. "8G"
  1421. ],
  1422. "delta": "0:00:01.118169",
  1423. "end": "2023-08-03 09:38:30.507764",
  1424. "invocation": {
  1425. "module_args": {
  1426. "_raw_params": "qm resize 9001 scsi0 8G",
  1427. "_uses_shell": false,
  1428. "argv": null,
  1429. "chdir": null,
  1430. "creates": null,
  1431. "executable": null,
  1432. "removes": null,
  1433. "stdin": null,
  1434. "stdin_add_newline": true,
  1435. "strip_empty_ends": true
  1436. }
  1437. },
  1438. "item": {
  1439. "disk": "/data/install/images/jammy-server-cloudimg-amd64-disk.img",
  1440. "file": "/data/install/images/jammy-server-cloudimg-amd64.img",
  1441. "id": "9001",
  1442. "name": "ubuntu-jammy-template",
  1443. "tags": [
  1444. "ubuntu",
  1445. "jammy",
  1446. "cloud-image"
  1447. ],
  1448. "url": "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
  1449. },
  1450. "msg": "",
  1451. "rc": 0,
  1452. "start": "2023-08-03 09:38:29.389595",
  1453. "stderr": "",
  1454. "stderr_lines": [],
  1455. "stdout": "",
  1456. "stdout_lines": []
  1457. }
  1458. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  1459. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080710.5383604-2068967-105746103578803 `" && echo ansible-tmp-1691080710.5383604-2068967-105746103578803="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080710.5383604-2068967-105746103578803 `" ) && sleep 0'
  1460. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/command.py
  1461. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmph01mb3pu TO /home/pieter/.ansible/tmp/ansible-tmp-1691080710.5383604-2068967-105746103578803/AnsiballZ_command.py
  1462. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080710.5383604-2068967-105746103578803/ /home/pieter/.ansible/tmp/ansible-tmp-1691080710.5383604-2068967-105746103578803/AnsiballZ_command.py && sleep 0'
  1463. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=ztqhqmewufrwysugdthafyndxbbtkflw] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-ztqhqmewufrwysugdthafyndxbbtkflw ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080710.5383604-2068967-105746103578803/AnsiballZ_command.py'"'"' && sleep 0'
  1464. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080710.5383604-2068967-105746103578803/ > /dev/null 2>&1 && sleep 0'
  1465. changed: [localhost] => (item={'id': '9002', 'name': 'debian-bookworm-template', 'tags': 'debian,bookworm,cloud-image', 'file': '/data/install/images/debian-12-genericcloud-amd64.qcow2', 'disk': '/data/install/images/debian-12-genericcloud-amd64-disk.qcow2', 'url': 'https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2'}) => {
  1466. "ansible_loop_var": "item",
  1467. "changed": true,
  1468. "cmd": [
  1469. "qm",
  1470. "resize",
  1471. "9002",
  1472. "scsi0",
  1473. "8G"
  1474. ],
  1475. "delta": "0:00:01.076729",
  1476. "end": "2023-08-03 09:38:31.769057",
  1477. "invocation": {
  1478. "module_args": {
  1479. "_raw_params": "qm resize 9002 scsi0 8G",
  1480. "_uses_shell": false,
  1481. "argv": null,
  1482. "chdir": null,
  1483. "creates": null,
  1484. "executable": null,
  1485. "removes": null,
  1486. "stdin": null,
  1487. "stdin_add_newline": true,
  1488. "strip_empty_ends": true
  1489. }
  1490. },
  1491. "item": {
  1492. "disk": "/data/install/images/debian-12-genericcloud-amd64-disk.qcow2",
  1493. "file": "/data/install/images/debian-12-genericcloud-amd64.qcow2",
  1494. "id": "9002",
  1495. "name": "debian-bookworm-template",
  1496. "tags": "debian,bookworm,cloud-image",
  1497. "url": "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
  1498. },
  1499. "msg": "",
  1500. "rc": 0,
  1501. "start": "2023-08-03 09:38:30.692328",
  1502. "stderr": "",
  1503. "stderr_lines": [],
  1504. "stdout": "",
  1505. "stdout_lines": []
  1506. }
  1507.  
  1508. TASK [Rescan images] *********************************************************************************************************************************************************************************************************************************************************
  1509. task path: /home/pieter/HomeAutomation/Ansible/tasks/cloud_init3.yml:124
  1510. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: pieter
  1511. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  1512. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080711.8345053-2069734-91689198948428 `" && echo ansible-tmp-1691080711.8345053-2069734-91689198948428="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080711.8345053-2069734-91689198948428 `" ) && sleep 0'
  1513. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/command.py
  1514. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmptlfg391z TO /home/pieter/.ansible/tmp/ansible-tmp-1691080711.8345053-2069734-91689198948428/AnsiballZ_command.py
  1515. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080711.8345053-2069734-91689198948428/ /home/pieter/.ansible/tmp/ansible-tmp-1691080711.8345053-2069734-91689198948428/AnsiballZ_command.py && sleep 0'
  1516. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=rlmsnkoeyokcwfjqcfmdozgehfknmocj] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-rlmsnkoeyokcwfjqcfmdozgehfknmocj ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080711.8345053-2069734-91689198948428/AnsiballZ_command.py'"'"' && sleep 0'
  1517. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080711.8345053-2069734-91689198948428/ > /dev/null 2>&1 && sleep 0'
  1518. changed: [localhost] => {
  1519. "changed": true,
  1520. "cmd": [
  1521. "qm",
  1522. "rescan"
  1523. ],
  1524. "delta": "0:00:01.258366",
  1525. "end": "2023-08-03 09:38:33.249470",
  1526. "invocation": {
  1527. "module_args": {
  1528. "_raw_params": "qm rescan",
  1529. "_uses_shell": false,
  1530. "argv": null,
  1531. "chdir": null,
  1532. "creates": null,
  1533. "executable": null,
  1534. "removes": null,
  1535. "stdin": null,
  1536. "stdin_add_newline": true,
  1537. "strip_empty_ends": true
  1538. }
  1539. },
  1540. "msg": "",
  1541. "rc": 0,
  1542. "start": "2023-08-03 09:38:31.991104",
  1543. "stderr": "",
  1544. "stderr_lines": [],
  1545. "stdout": "rescan volumes...",
  1546. "stdout_lines": [
  1547. "rescan volumes..."
  1548. ]
  1549. }
  1550.  
  1551. TASK [Convert to template] ***************************************************************************************************************************************************************************************************************************************************
  1552. task path: /home/pieter/HomeAutomation/Ansible/tasks/cloud_init3.yml:127
  1553. <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: pieter
  1554. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  1555. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080713.3273408-2069950-23318849283759 `" && echo ansible-tmp-1691080713.3273408-2069950-23318849283759="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080713.3273408-2069950-23318849283759 `" ) && sleep 0'
  1556. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/command.py
  1557. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmpg4aqpcqd TO /home/pieter/.ansible/tmp/ansible-tmp-1691080713.3273408-2069950-23318849283759/AnsiballZ_command.py
  1558. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080713.3273408-2069950-23318849283759/ /home/pieter/.ansible/tmp/ansible-tmp-1691080713.3273408-2069950-23318849283759/AnsiballZ_command.py && sleep 0'
  1559. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=jlwdhlcdodlbqoxtomgghasfupgblqto] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-jlwdhlcdodlbqoxtomgghasfupgblqto ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080713.3273408-2069950-23318849283759/AnsiballZ_command.py'"'"' && sleep 0'
  1560. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080713.3273408-2069950-23318849283759/ > /dev/null 2>&1 && sleep 0'
  1561. failed: [localhost] (item={'id': '9001', 'name': 'ubuntu-jammy-template', 'tags': ['ubuntu', 'jammy', 'cloud-image'], 'file': '/data/install/images/jammy-server-cloudimg-amd64.img', 'disk': '/data/install/images/jammy-server-cloudimg-amd64-disk.img', 'url': 'https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img'}) => {
  1562. "ansible_loop_var": "item",
  1563. "changed": true,
  1564. "cmd": [
  1565. "qm",
  1566. "template",
  1567. "9001"
  1568. ],
  1569. "delta": "0:00:00.956555",
  1570. "end": "2023-08-03 09:38:34.448601",
  1571. "invocation": {
  1572. "module_args": {
  1573. "_raw_params": "qm template 9001",
  1574. "_uses_shell": false,
  1575. "argv": null,
  1576. "chdir": null,
  1577. "creates": null,
  1578. "executable": null,
  1579. "removes": null,
  1580. "stdin": null,
  1581. "stdin_add_newline": true,
  1582. "strip_empty_ends": true
  1583. }
  1584. },
  1585. "item": {
  1586. "disk": "/data/install/images/jammy-server-cloudimg-amd64-disk.img",
  1587. "file": "/data/install/images/jammy-server-cloudimg-amd64.img",
  1588. "id": "9001",
  1589. "name": "ubuntu-jammy-template",
  1590. "tags": [
  1591. "ubuntu",
  1592. "jammy",
  1593. "cloud-image"
  1594. ],
  1595. "url": "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
  1596. },
  1597. "msg": "non-zero return code",
  1598. "rc": 25,
  1599. "start": "2023-08-03 09:38:33.492046",
  1600. "stderr": "failed to tcsetpgrp: Inappropriate ioctl for device\ngot no worker upid - start worker failed",
  1601. "stderr_lines": [
  1602. "failed to tcsetpgrp: Inappropriate ioctl for device",
  1603. "got no worker upid - start worker failed"
  1604. ],
  1605. "stdout": "",
  1606. "stdout_lines": []
  1607. }
  1608. <127.0.0.1> EXEC /bin/sh -c 'echo ~pieter && sleep 0'
  1609. <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/pieter/.ansible/tmp `"&& mkdir "` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080714.4802506-2069950-71799978094374 `" && echo ansible-tmp-1691080714.4802506-2069950-71799978094374="` echo /home/pieter/.ansible/tmp/ansible-tmp-1691080714.4802506-2069950-71799978094374 `" ) && sleep 0'
  1610. Using module file /usr/local/lib/python3.9/dist-packages/ansible/modules/command.py
  1611. <127.0.0.1> PUT /home/pieter/.ansible/tmp/ansible-local-2008535rn8l2emn/tmp934tk_sm TO /home/pieter/.ansible/tmp/ansible-tmp-1691080714.4802506-2069950-71799978094374/AnsiballZ_command.py
  1612. <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/pieter/.ansible/tmp/ansible-tmp-1691080714.4802506-2069950-71799978094374/ /home/pieter/.ansible/tmp/ansible-tmp-1691080714.4802506-2069950-71799978094374/AnsiballZ_command.py && sleep 0'
  1613. <127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=gxfmqpiqvrcqjcpausmysftxretvmeuf] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-gxfmqpiqvrcqjcpausmysftxretvmeuf ; /usr/bin/python3 /home/pieter/.ansible/tmp/ansible-tmp-1691080714.4802506-2069950-71799978094374/AnsiballZ_command.py'"'"' && sleep 0'
  1614. <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/pieter/.ansible/tmp/ansible-tmp-1691080714.4802506-2069950-71799978094374/ > /dev/null 2>&1 && sleep 0'
  1615. failed: [localhost] (item={'id': '9002', 'name': 'debian-bookworm-template', 'tags': 'debian,bookworm,cloud-image', 'file': '/data/install/images/debian-12-genericcloud-amd64.qcow2', 'disk': '/data/install/images/debian-12-genericcloud-amd64-disk.qcow2', 'url': 'https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2'}) => {
  1616. "ansible_loop_var": "item",
  1617. "changed": true,
  1618. "cmd": [
  1619. "qm",
  1620. "template",
  1621. "9002"
  1622. ],
  1623. "delta": "0:00:00.962185",
  1624. "end": "2023-08-03 09:38:35.594534",
  1625. "invocation": {
  1626. "module_args": {
  1627. "_raw_params": "qm template 9002",
  1628. "_uses_shell": false,
  1629. "argv": null,
  1630. "chdir": null,
  1631. "creates": null,
  1632. "executable": null,
  1633. "removes": null,
  1634. "stdin": null,
  1635. "stdin_add_newline": true,
  1636. "strip_empty_ends": true
  1637. }
  1638. },
  1639. "item": {
  1640. "disk": "/data/install/images/debian-12-genericcloud-amd64-disk.qcow2",
  1641. "file": "/data/install/images/debian-12-genericcloud-amd64.qcow2",
  1642. "id": "9002",
  1643. "name": "debian-bookworm-template",
  1644. "tags": "debian,bookworm,cloud-image",
  1645. "url": "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
  1646. },
  1647. "msg": "non-zero return code",
  1648. "rc": 25,
  1649. "start": "2023-08-03 09:38:34.632349",
  1650. "stderr": "failed to tcsetpgrp: Inappropriate ioctl for device\ngot no worker upid - start worker failed",
  1651. "stderr_lines": [
  1652. "failed to tcsetpgrp: Inappropriate ioctl for device",
  1653. "got no worker upid - start worker failed"
  1654. ],
  1655. "stdout": "",
  1656. "stdout_lines": []
  1657. }
  1658.  
  1659. PLAY RECAP *******************************************************************************************************************************************************************************************************************************************************************
  1660. localhost : ok=12 changed=8 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
  1661.  
  1662. pieter@server-1:~/HomeAutomation$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement