Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.55 KB | None | 0 0
  1. changed: [mist1] => (item={u'hwaddr': u'00:16:3e:1c:94:38', u'profile': u'single-interface', u'name': u'foobar', u'alias': u'local-ubuntu-16.04'}) => {
  2. "actions": [
  3. "apply_container_configs"
  4. ],
  5. "changed": true,
  6. "invocation": {
  7. "module_args": {
  8. "architecture": "x86_64",
  9. "cert_file": "/root/.config/lxc/client.crt",
  10. "config": {
  11. "volatile.eth0.hwaddr": "00:16:3e:1c:94:38"
  12. },
  13. "description": null,
  14. "devices": null,
  15. "ephemeral": false,
  16. "force_stop": false,
  17. "key_file": "/root/.config/lxc/client.key",
  18. "name": "foobar",
  19. "profiles": [
  20. "single-interface"
  21. ],
  22. "source": {
  23. "alias": "local-ubuntu-16.04",
  24. "type": "image"
  25. },
  26. "state": "started",
  27. "timeout": 30,
  28. "trust_password": null,
  29. "url": "unix:/var/lib/lxd/unix.socket",
  30. "wait_for_ipv4_addresses": false
  31. },
  32. "module_name": "lxd_container"
  33. },
  34. "item": {
  35. "alias": "local-ubuntu-16.04",
  36. "hwaddr": "00:16:3e:1c:94:38",
  37. "name": "foobar",
  38. "profile": "single-interface"
  39. },
  40. "log_verbosity": 4,
  41. "logs": [
  42. {
  43. "request": {
  44. "json": null,
  45. "method": "GET",
  46. "timeout": null,
  47. "url": "/1.0/containers/foobar"
  48. },
  49. "response": {
  50. "json": {
  51. "metadata": {
  52. "architecture": "x86_64",
  53. "config": {
  54. "volatile.base_image": "f4c4c60a6b752a381288ae72a1689a9da00f8e03b732c8d1b8a8fcd1a8890800",
  55. "volatile.eth0.hwaddr": "00:16:3e:1c:94:38",
  56. "volatile.last_state.idmap": "[{\"Isuid\":true,\"Isgid\":false,\"Hostid\":165536,\"Nsid\":0,\"Maprange\":65536},{\"Isuid\":false,\"Isgid\":true,\"Hostid\":165536,\"Nsid\":0,\"Maprange\":65536}]"
  57. },
  58. "created_at": "2016-08-22T15:50:36+01:00",
  59. "devices": {
  60. "root": {
  61. "path": "/",
  62. "type": "disk"
  63. }
  64. },
  65. "ephemeral": false,
  66. "expanded_config": {
  67. "volatile.base_image": "f4c4c60a6b752a381288ae72a1689a9da00f8e03b732c8d1b8a8fcd1a8890800",
  68. "volatile.eth0.hwaddr": "00:16:3e:1c:94:38",
  69. "volatile.last_state.idmap": "[{\"Isuid\":true,\"Isgid\":false,\"Hostid\":165536,\"Nsid\":0,\"Maprange\":65536},{\"Isuid\":false,\"Isgid\":true,\"Hostid\":165536,\"Nsid\":0,\"Maprange\":65536}]"
  70. },
  71. "expanded_devices": {
  72. "eth0": {
  73. "name": "eth0",
  74. "nictype": "bridged",
  75. "parent": "eno1-br",
  76. "type": "nic"
  77. },
  78. "root": {
  79. "path": "/",
  80. "type": "disk"
  81. }
  82. },
  83. "name": "foobar",
  84. "profiles": [
  85. "single-interface"
  86. ],
  87. "stateful": false,
  88. "status": "Running",
  89. "status_code": 103
  90. },
  91. "status": "Success",
  92. "status_code": 200,
  93. "type": "sync"
  94. }
  95. },
  96. "type": "sent request"
  97. },
  98. {
  99. "request": {
  100. "json": {
  101. "architecture": "x86_64",
  102. "config": {
  103. "volatile.base_image": "f4c4c60a6b752a381288ae72a1689a9da00f8e03b732c8d1b8a8fcd1a8890800",
  104. "volatile.eth0.hwaddr": "00:16:3e:1c:94:38",
  105. "volatile.last_state.idmap": "[{\"Isuid\":true,\"Isgid\":false,\"Hostid\":165536,\"Nsid\":0,\"Maprange\":65536},{\"Isuid\":false,\"Isgid\":true,\"Hostid\":165536,\"Nsid\":0,\"Maprange\":65536}]"
  106. },
  107. "devices": {
  108. "root": {
  109. "path": "/",
  110. "type": "disk"
  111. }
  112. },
  113. "profiles": [
  114. "single-interface"
  115. ]
  116. },
  117. "method": "PUT",
  118. "timeout": null,
  119. "url": "/1.0/containers/foobar"
  120. },
  121. "response": {
  122. "json": {
  123. "metadata": {
  124. "class": "task",
  125. "created_at": "2016-08-23T09:04:22.546854233+01:00",
  126. "err": "",
  127. "id": "fa48fb10-051c-49b9-ad5b-8180e34f3e08",
  128. "may_cancel": false,
  129. "metadata": null,
  130. "resources": {
  131. "containers": [
  132. "/1.0/containers/foobar"
  133. ]
  134. },
  135. "status": "Running",
  136. "status_code": 103,
  137. "updated_at": "2016-08-23T09:04:22.546854233+01:00"
  138. },
  139. "operation": "/1.0/operations/fa48fb10-051c-49b9-ad5b-8180e34f3e08",
  140. "status": "Operation created",
  141. "status_code": 100,
  142. "type": "async"
  143. }
  144. },
  145. "type": "sent request"
  146. },
  147. {
  148. "request": {
  149. "json": null,
  150. "method": "GET",
  151. "timeout": null,
  152. "url": "/1.0/operations/fa48fb10-051c-49b9-ad5b-8180e34f3e08/wait"
  153. },
  154. "response": {
  155. "json": {
  156. "metadata": {
  157. "class": "task",
  158. "created_at": "2016-08-23T09:04:22.546854233+01:00",
  159. "err": "",
  160. "id": "fa48fb10-051c-49b9-ad5b-8180e34f3e08",
  161. "may_cancel": false,
  162. "metadata": null,
  163. "resources": {
  164. "containers": [
  165. "/1.0/containers/foobar"
  166. ]
  167. },
  168. "status": "Success",
  169. "status_code": 200,
  170. "updated_at": "2016-08-23T09:04:22.546854233+01:00"
  171. },
  172. "status": "Success",
  173. "status_code": 200,
  174. "type": "sync"
  175. }
  176. },
  177. "type": "sent request"
  178. }
  179. ],
  180. "old_state": "started"
  181. }
  182.  
  183. PLAY RECAP *********************************************************************
  184. mist1 : ok=2 changed=1 unreachable=0 failed=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement