{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/29191","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/29191/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/29191/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/29191/events","html_url":"https://github.com/ansible/ansible/issues/29191","id":256534800,"number":29191,"title":"Virt module: get_xml missing flags option","user":{"login":"ansibot","id":6585283,"avatar_url":"https://avatars0.githubusercontent.com/u/6585283?v=4","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-09-10T19:46:28Z","updated_at":"2017-09-10T19:46:32Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"From @RSpiertz on 2014-10-21T14:35:27Z\r\n##### Issue Type:\n\nFeature Request\n##### Ansible Version:\n\nansible 1.7.1\n##### Environment:\n\nN/A\n##### Summary:\n\nThe get_xml method in the virt module has the flags parameter hardcoded to 0, which prevents passing in a custom flags setting to for example also retrieve the VNC password used.\n##### Steps To Reproduce:\n\nRunning the following does not show the password of the domain in the XML:\nansible -sK -m virt -a \"command=get_xml name=[VM name]\"\n##### Expected Results:\n\nThe domain XML including the VNC password when flasg is set to 1.\nRetrieving the password of a virtual domain is currently not possible, would be nice to be able to call:\nansible -sK -m virt -a \"command=get_xml name=[VM name] xml_secure=yes\"\n##### Actual Results:\n\nAdding extra parameters causes the module to fail due to an unrecognised parameter\n\r\nCopied from original issue: ansible/ansible-modules-extras#84\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/328366812","html_url":"https://github.com/ansible/ansible/issues/29191#issuecomment-328366812","issue_url":"https://api.github.com/repos/ansible/ansible/issues/29191","id":328366812,"user":{"login":"ansibot","id":6585283,"avatar_url":"https://avatars0.githubusercontent.com/u/6585283?v=4","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"created_at":"2017-09-10T19:46:32Z","updated_at":"2017-09-10T19:46:32Z","author_association":"CONTRIBUTOR","body":"From @RSpiertz on 2014-10-21T14:35:27Z\r\n\r\n@ansible, ping. This issue is still waiting on your response.\n[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)\n\n<!--- boilerplate: issue_renotify_maintainer --->\n"}}
{"actor":{"display_login":"ansibot"}}