{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/6576","labels_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6576/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6576/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6576/events","html_url":"https://github.com/mitchellh/vagrant/pull/6576","id":118284756,"number":6576,"title":"Add WinRM support to Ansible provisioner","user":{"login":"gildegoma","id":434654,"avatar_url":"https://avatars.githubusercontent.com/u/434654?v=3","gravatar_id":"","url":"https://api.github.com/users/gildegoma","html_url":"https://github.com/gildegoma","followers_url":"https://api.github.com/users/gildegoma/followers","following_url":"https://api.github.com/users/gildegoma/following{/other_user}","gists_url":"https://api.github.com/users/gildegoma/gists{/gist_id}","starred_url":"https://api.github.com/users/gildegoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gildegoma/subscriptions","organizations_url":"https://api.github.com/users/gildegoma/orgs","repos_url":"https://api.github.com/users/gildegoma/repos","events_url":"https://api.github.com/users/gildegoma/events{/privacy}","received_events_url":"https://api.github.com/users/gildegoma/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitchellh/vagrant/labels/pr/ready-for-merge","name":"pr/ready-for-merge","color":"bfe5bf"},{"url":"https://api.github.com/repos/mitchellh/vagrant/labels/provisioner/ansible","name":"provisioner/ansible","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mitchellh/vagrant/milestones/11","html_url":"https://github.com/mitchellh/vagrant/milestones/1.8","labels_url":"https://api.github.com/repos/mitchellh/vagrant/milestones/11/labels","id":1193688,"number":11,"title":"1.8","description":"","creator":{"login":"sethvargo","id":408570,"avatar_url":"https://avatars.githubusercontent.com/u/408570?v=3","gravatar_id":"","url":"https://api.github.com/users/sethvargo","html_url":"https://github.com/sethvargo","followers_url":"https://api.github.com/users/sethvargo/followers","following_url":"https://api.github.com/users/sethvargo/following{/other_user}","gists_url":"https://api.github.com/users/sethvargo/gists{/gist_id}","starred_url":"https://api.github.com/users/sethvargo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethvargo/subscriptions","organizations_url":"https://api.github.com/users/sethvargo/orgs","repos_url":"https://api.github.com/users/sethvargo/repos","events_url":"https://api.github.com/users/sethvargo/events{/privacy}","received_events_url":"https://api.github.com/users/sethvargo/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":74,"state":"open","created_at":"2015-07-05T16:04:07Z","updated_at":"2015-11-25T20:40:00Z","due_on":"2015-11-30T08:00:00Z","closed_at":null},"comments":3,"created_at":"2015-11-22T19:58:45Z","updated_at":"2015-11-25T21:15:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mitchellh/vagrant/pulls/6576","html_url":"https://github.com/mitchellh/vagrant/pull/6576","diff_url":"https://github.com/mitchellh/vagrant/pull/6576.diff","patch_url":"https://github.com/mitchellh/vagrant/pull/6576.patch"},"body":"With this change, the Vagrant machines configured with the `:winrm` communicator will be accordingly configured in the auto-generated Ansible inventory.\r\n\r\nSolve #5086.\r\n\r\nKnown Issues:\r\n* when `force_remote_user = false`, the vagrant ssh username is used as default username (via the `--user` argument). This could be improved, but it sounds to me to be an an additional burden to something that can easily be fixed by setting `config.ssh.username` to the same value as `config.winrm.username`. See de96b54272f0d7eb717df0f5d7d2c065cd8b1786\r\n\r\n@sneal @sethvargo @mitchellh review + merge please :)"},"comment":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/comments/159733003","html_url":"https://github.com/mitchellh/vagrant/pull/6576#issuecomment-159733003","issue_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6576","id":159733003,"user":{"login":"nirving-versent","id":13446136,"avatar_url":"https://avatars.githubusercontent.com/u/13446136?v=3","gravatar_id":"","url":"https://api.github.com/users/nirving-versent","html_url":"https://github.com/nirving-versent","followers_url":"https://api.github.com/users/nirving-versent/followers","following_url":"https://api.github.com/users/nirving-versent/following{/other_user}","gists_url":"https://api.github.com/users/nirving-versent/gists{/gist_id}","starred_url":"https://api.github.com/users/nirving-versent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirving-versent/subscriptions","organizations_url":"https://api.github.com/users/nirving-versent/orgs","repos_url":"https://api.github.com/users/nirving-versent/repos","events_url":"https://api.github.com/users/nirving-versent/events{/privacy}","received_events_url":"https://api.github.com/users/nirving-versent/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T21:15:19Z","updated_at":"2015-11-25T21:15:19Z","body":"Cannot test on Macintosh (installed via brew) as it fails with\r\n\r\n```\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler (LoadError)\r\n\tfrom /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'\r\n\tfrom /Users/nirving/Downloads/vagrant-gildegoma-5086-ansible-winrm/lib/vagrant/bundler.rb:6:in `<top (required)>'\r\n\tfrom /Users/nirving/Downloads/vagrant-gildegoma-5086-ansible-winrm/lib/vagrant/pre-rubygems.rb:19:in `require_relative'\r\n\tfrom /Users/nirving/Downloads/vagrant-gildegoma-5086-ansible-winrm/lib/vagrant/pre-rubygems.rb:19:in `<main>'\r\n```"}}