{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/25114","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/25114/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/25114/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/25114/events","html_url":"https://github.com/ansible/ansible/issues/25114","id":231891216,"number":25114,"title":"1603 returned when running win_chocolatey","user":{"login":"rutkowskii","id":2392212,"avatar_url":"https://avatars3.githubusercontent.com/u/2392212?v=4","gravatar_id":"","url":"https://api.github.com/users/rutkowskii","html_url":"https://github.com/rutkowskii","followers_url":"https://api.github.com/users/rutkowskii/followers","following_url":"https://api.github.com/users/rutkowskii/following{/other_user}","gists_url":"https://api.github.com/users/rutkowskii/gists{/gist_id}","starred_url":"https://api.github.com/users/rutkowskii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rutkowskii/subscriptions","organizations_url":"https://api.github.com/users/rutkowskii/orgs","repos_url":"https://api.github.com/users/rutkowskii/repos","events_url":"https://api.github.com/users/rutkowskii/events{/privacy}","received_events_url":"https://api.github.com/users/rutkowskii/received_events","type":"User","site_admin":false},"labels":[{"id":562292166,"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.4","name":"affects_2.4","color":"ededed","default":false},{"id":54811101,"url":"https://api.github.com/repos/ansible/ansible/labels/needs_info","name":"needs_info","color":"eb6420","default":false},{"id":572345061,"url":"https://api.github.com/repos/ansible/ansible/labels/needs_template","name":"needs_template","color":"f9d0c4","default":false},{"id":636352796,"url":"https://api.github.com/repos/ansible/ansible/labels/support:core","name":"support:core","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-28T20:09:47Z","updated_at":"2017-08-16T15:45:04Z","closed_at":null,"body":"##### ANSIBLE VERSION\r\n```\r\nansible 2.3.0.0\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = Default w/o overrides\r\n  python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]\r\n```\r\n\r\n##### COMPONENT NAME\r\nwin_chocolatey, trying to install Visual Studio 2015 community edition (https://chocolatey.org/packages/VisualStudio2015Community)\r\n\r\n##### Environment\r\nRunning win_chocolatey against an agent with Windows 2012 R2 Standard\r\n\r\n##### STEPS TO REPRODUCE\r\nTrying to install Visual Studio Community 2015 the following way:\r\n```\r\n  - name: Install 7zip\r\n    hosts: all\r\n    gather_facts: false\r\n    tasks:\r\n      - name: Install 7zip\r\n        win_chocolatey:\r\n          name: 7zip.install\r\n          state: present\r\n  - name: Install Visual Studio\r\n    hosts: all\r\n    gather_facts: false\r\n    tasks:\r\n      - name: Install Visual Studio\r\n        win_chocolatey:\r\n          name: visualstudio2015community\r\n          state: present\r\n```\r\n\r\n##### ACTUAL RESULTS\r\nOutput when running the playbook:\r\n```\r\nPLAY [Install 7zip] *****************************************************************************************************\r\n\r\nTASK [Install 7zip] *****************************************************************************************************\r\nok: [10.2.75.156]\r\n\r\nPLAY [Install Visual Studio] ********************************************************************************************\r\n\r\nTASK [Install Visual Studio] ********************************************************************************************\r\nfatal: [10.2.75.156]: FAILED! => {\"changed\": false, \"choco_error_cmd\": \"choco.exe install -dv -y visualstudio2015community -timeout 2700\", \"choco_error_log\": null, \"failed\": true, \"msg\": \"Error installing visualstudio2015community\", \"rc\": 1603}\r\n        to retry, use: --limit @/etc/ansible/plays/main.retry\r\n```\r\nVisual Studio is visible in Programs list in control panel, although most of components (eg. MsBuild are not installed). \r\nLink to installation log:\r\nhttps://www.dropbox.com/s/14jd2obrh6ifnye/dd_vs_community_20170528192409.log?dl=0\r\n\r\n7zip, showed in a config, is installed with no problems. \r\nInstalling Visual Studio running chocolatey at the target machine (running chocolatey command from the output above, from powershell with elevated privileges), works as well. "},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/322814015","html_url":"https://github.com/ansible/ansible/issues/25114#issuecomment-322814015","issue_url":"https://api.github.com/repos/ansible/ansible/issues/25114","id":322814015,"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-08-16T15:45:04Z","updated_at":"2017-08-16T15:45:04Z","body":"cc @elventear @nitzmahone @petemounce @smadam813 @trondhindenes\n[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)\n<!--- boilerplate: notify --->"}}
{"actor":{"display_login":"ansibot"}}