Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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'}) => {
- "actions": [
- "apply_container_configs"
- ],
- "changed": true,
- "invocation": {
- "module_args": {
- "architecture": "x86_64",
- "cert_file": "/root/.config/lxc/client.crt",
- "config": {
- "volatile.eth0.hwaddr": "00:16:3e:1c:94:38"
- },
- "description": null,
- "devices": null,
- "ephemeral": false,
- "force_stop": false,
- "key_file": "/root/.config/lxc/client.key",
- "name": "foobar",
- "profiles": [
- "single-interface"
- ],
- "source": {
- "alias": "local-ubuntu-16.04",
- "type": "image"
- },
- "state": "started",
- "timeout": 30,
- "trust_password": null,
- "url": "unix:/var/lib/lxd/unix.socket",
- "wait_for_ipv4_addresses": false
- },
- "module_name": "lxd_container"
- },
- "item": {
- "alias": "local-ubuntu-16.04",
- "hwaddr": "00:16:3e:1c:94:38",
- "name": "foobar",
- "profile": "single-interface"
- },
- "log_verbosity": 4,
- "logs": [
- {
- "request": {
- "json": null,
- "method": "GET",
- "timeout": null,
- "url": "/1.0/containers/foobar"
- },
- "response": {
- "json": {
- "metadata": {
- "architecture": "x86_64",
- "config": {
- "volatile.base_image": "f4c4c60a6b752a381288ae72a1689a9da00f8e03b732c8d1b8a8fcd1a8890800",
- "volatile.eth0.hwaddr": "00:16:3e:1c:94:38",
- "volatile.last_state.idmap": "[{\"Isuid\":true,\"Isgid\":false,\"Hostid\":165536,\"Nsid\":0,\"Maprange\":65536},{\"Isuid\":false,\"Isgid\":true,\"Hostid\":165536,\"Nsid\":0,\"Maprange\":65536}]"
- },
- "created_at": "2016-08-22T15:50:36+01:00",
- "devices": {
- "root": {
- "path": "/",
- "type": "disk"
- }
- },
- "ephemeral": false,
- "expanded_config": {
- "volatile.base_image": "f4c4c60a6b752a381288ae72a1689a9da00f8e03b732c8d1b8a8fcd1a8890800",
- "volatile.eth0.hwaddr": "00:16:3e:1c:94:38",
- "volatile.last_state.idmap": "[{\"Isuid\":true,\"Isgid\":false,\"Hostid\":165536,\"Nsid\":0,\"Maprange\":65536},{\"Isuid\":false,\"Isgid\":true,\"Hostid\":165536,\"Nsid\":0,\"Maprange\":65536}]"
- },
- "expanded_devices": {
- "eth0": {
- "name": "eth0",
- "nictype": "bridged",
- "parent": "eno1-br",
- "type": "nic"
- },
- "root": {
- "path": "/",
- "type": "disk"
- }
- },
- "name": "foobar",
- "profiles": [
- "single-interface"
- ],
- "stateful": false,
- "status": "Running",
- "status_code": 103
- },
- "status": "Success",
- "status_code": 200,
- "type": "sync"
- }
- },
- "type": "sent request"
- },
- {
- "request": {
- "json": {
- "architecture": "x86_64",
- "config": {
- "volatile.base_image": "f4c4c60a6b752a381288ae72a1689a9da00f8e03b732c8d1b8a8fcd1a8890800",
- "volatile.eth0.hwaddr": "00:16:3e:1c:94:38",
- "volatile.last_state.idmap": "[{\"Isuid\":true,\"Isgid\":false,\"Hostid\":165536,\"Nsid\":0,\"Maprange\":65536},{\"Isuid\":false,\"Isgid\":true,\"Hostid\":165536,\"Nsid\":0,\"Maprange\":65536}]"
- },
- "devices": {
- "root": {
- "path": "/",
- "type": "disk"
- }
- },
- "profiles": [
- "single-interface"
- ]
- },
- "method": "PUT",
- "timeout": null,
- "url": "/1.0/containers/foobar"
- },
- "response": {
- "json": {
- "metadata": {
- "class": "task",
- "created_at": "2016-08-23T09:04:22.546854233+01:00",
- "err": "",
- "id": "fa48fb10-051c-49b9-ad5b-8180e34f3e08",
- "may_cancel": false,
- "metadata": null,
- "resources": {
- "containers": [
- "/1.0/containers/foobar"
- ]
- },
- "status": "Running",
- "status_code": 103,
- "updated_at": "2016-08-23T09:04:22.546854233+01:00"
- },
- "operation": "/1.0/operations/fa48fb10-051c-49b9-ad5b-8180e34f3e08",
- "status": "Operation created",
- "status_code": 100,
- "type": "async"
- }
- },
- "type": "sent request"
- },
- {
- "request": {
- "json": null,
- "method": "GET",
- "timeout": null,
- "url": "/1.0/operations/fa48fb10-051c-49b9-ad5b-8180e34f3e08/wait"
- },
- "response": {
- "json": {
- "metadata": {
- "class": "task",
- "created_at": "2016-08-23T09:04:22.546854233+01:00",
- "err": "",
- "id": "fa48fb10-051c-49b9-ad5b-8180e34f3e08",
- "may_cancel": false,
- "metadata": null,
- "resources": {
- "containers": [
- "/1.0/containers/foobar"
- ]
- },
- "status": "Success",
- "status_code": 200,
- "updated_at": "2016-08-23T09:04:22.546854233+01:00"
- },
- "status": "Success",
- "status_code": 200,
- "type": "sync"
- }
- },
- "type": "sent request"
- }
- ],
- "old_state": "started"
- }
- PLAY RECAP *********************************************************************
- mist1 : ok=2 changed=1 unreachable=0 failed=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement