{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/19201","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/19201/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/19201/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/19201/events","html_url":"https://github.com/ansible/ansible/pull/19201","id":194850725,"number":19201,"title":"Add get_ifaces command to virt module","user":{"login":"HyperBaton","id":778741,"avatar_url":"https://avatars.githubusercontent.com/u/778741?v=3","gravatar_id":"","url":"https://api.github.com/users/HyperBaton","html_url":"https://github.com/HyperBaton","followers_url":"https://api.github.com/users/HyperBaton/followers","following_url":"https://api.github.com/users/HyperBaton/following{/other_user}","gists_url":"https://api.github.com/users/HyperBaton/gists{/gist_id}","starred_url":"https://api.github.com/users/HyperBaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HyperBaton/subscriptions","organizations_url":"https://api.github.com/users/HyperBaton/orgs","repos_url":"https://api.github.com/users/HyperBaton/repos","events_url":"https://api.github.com/users/HyperBaton/events{/privacy}","received_events_url":"https://api.github.com/users/HyperBaton/received_events","type":"User","site_admin":false},"labels":[{"id":454885231,"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.3","name":"affects_2.3","color":"5319e7","default":false},{"id":61528803,"url":"https://api.github.com/repos/ansible/ansible/labels/cloud","name":"cloud","color":"c7def8","default":false},{"id":501518759,"url":"https://api.github.com/repos/ansible/ansible/labels/community_review","name":"community_review","color":"f9d0c4","default":false},{"id":48457821,"url":"https://api.github.com/repos/ansible/ansible/labels/feature_pull_request","name":"feature_pull_request","color":"006b75","default":false},{"id":496359346,"url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-11T19:31:06Z","updated_at":"2017-02-14T10:53:19Z","closed_at":"2017-02-14T10:49:44Z","pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/19201","html_url":"https://github.com/ansible/ansible/pull/19201","diff_url":"https://github.com/ansible/ansible/pull/19201.diff","patch_url":"https://github.com/ansible/ansible/pull/19201.patch"},"body":"##### ISSUE TYPE\r\n - Feature Pull Request\r\n\r\n##### COMPONENT NAME\r\nvirt\r\n\r\n##### ANSIBLE VERSION\r\n```\r\nansible 2.3.0 (virt/domifaddr e503c4d440) last updated 2016/12/11 19:22:29 (GMT +000)\r\n  config file = \r\n  configured module search path = Default w/o overrides\r\n```\r\n\r\n##### SUMMARY\r\n<!--- Describe the change, including rationale and design decisions -->\r\nPart of my libvirt provisioning process is to retrieve the IP address that was leased by libvirt's dnsmasq. This was not yet available in the virt module so I've added this functionality.\r\n\r\nThis is my first pull request for Ansible, so please inform me if I forgot anything.\r\n<!---\r\nIf you are fixing an existing issue, please include \"Fixes #nnn\" in your\r\ncommit message and your description; but you should still explain what\r\nthe change does.\r\n-->\r\n\r\n<!-- Paste verbatim command output below, e.g. before and after your change -->\r\n```\r\nPARSED OUTPUT\r\n{\r\n    \"changed\": false, \r\n    \"invocation\": {\r\n        \"module_args\": {\r\n            \"command\": \"get_ifaces\", \r\n            \"name\": \"coreos-2.guests.internal.siwyd.com\", \r\n            \"state\": null, \r\n            \"uri\": \"qemu+ssh://hb@batou/system\", \r\n            \"xml\": null\r\n        }\r\n    }, \r\n    \"vnet1\": {\r\n        \"addrs\": [\r\n            {\r\n                \"addr\": \"10.200.2.5\", \r\n                \"prefix\": 24, \r\n                \"type\": 0\r\n            }\r\n        ], \r\n        \"hwaddr\": \"52:54:00:51:9a:52\"\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/279675169","html_url":"https://github.com/ansible/ansible/pull/19201#issuecomment-279675169","issue_url":"https://api.github.com/repos/ansible/ansible/issues/19201","id":279675169,"user":{"login":"dagwieers","id":388198,"avatar_url":"https://avatars.githubusercontent.com/u/388198?v=3","gravatar_id":"","url":"https://api.github.com/users/dagwieers","html_url":"https://github.com/dagwieers","followers_url":"https://api.github.com/users/dagwieers/followers","following_url":"https://api.github.com/users/dagwieers/following{/other_user}","gists_url":"https://api.github.com/users/dagwieers/gists{/gist_id}","starred_url":"https://api.github.com/users/dagwieers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagwieers/subscriptions","organizations_url":"https://api.github.com/users/dagwieers/orgs","repos_url":"https://api.github.com/users/dagwieers/repos","events_url":"https://api.github.com/users/dagwieers/events{/privacy}","received_events_url":"https://api.github.com/users/dagwieers/received_events","type":"User","site_admin":false},"created_at":"2017-02-14T10:53:19Z","updated_at":"2017-02-14T10:53:19Z","body":"@HyperBaton @jhoekx and I decided to upstream the virt_facts module (and everything in ansible-provisioning). That's probably a solution for you too."}}
{"actor":{"display_login":"dagwieers"}}