{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3157","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3157/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3157/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3157/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/3157","id":137567663,"number":3157,"title":"Upload binary file possibility in URI module","user":{"login":"mludy","id":132872,"avatar_url":"https://avatars.githubusercontent.com/u/132872?v=3","gravatar_id":"","url":"https://api.github.com/users/mludy","html_url":"https://github.com/mludy","followers_url":"https://api.github.com/users/mludy/followers","following_url":"https://api.github.com/users/mludy/following{/other_user}","gists_url":"https://api.github.com/users/mludy/gists{/gist_id}","starred_url":"https://api.github.com/users/mludy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mludy/subscriptions","organizations_url":"https://api.github.com/users/mludy/orgs","repos_url":"https://api.github.com/users/mludy/repos","events_url":"https://api.github.com/users/mludy/events{/privacy}","received_events_url":"https://api.github.com/users/mludy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/affects_1.9","name":"affects_1.9","color":"5319e7"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/feature_idea","name":"feature_idea","color":"006b75"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/waiting_on_maintainer","name":"waiting_on_maintainer","color":"d93f0b"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-03-01T12:57:25Z","updated_at":"2016-10-03T21:17:57Z","closed_at":null,"body":"##### Issue Type:\r\n\r\n\r\n - Feature Idea\r\n\r\n\r\n##### Plugin Name:\r\n\r\nuri\r\n\r\n##### Ansible Version:\r\n1.9.2\r\n\r\n\r\n##### Environment:\r\nN/A\r\n\r\n##### Summary:\r\n\r\nIt would be nice to have option to upload binary file to HTTP endpoint using HTTP PUT. Expecting behaviour similar to following curl command:\r\n```\r\ncurl -k -X PUT -u user:password --upload-file  test.jar \"https://IP:PORT/endpoint/\"\r\n```\r\nand example of possible URI usage:\r\n```\r\n- name: Push jar to nexus\r\n  uri:\r\n    url: \"https://{{ inventory_hostname }}:{{ port }}/{{ endpoint }}\"\r\n    src: /tmp/{{ file }}.jar\r\n    user: \"{{ user }}\"\r\n    password: \"{{ password }}\"\r\n    method: PUT\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/251230042","html_url":"https://github.com/ansible/ansible-modules-core/issues/3157#issuecomment-251230042","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3157","id":251230042,"user":{"login":"ansibot","id":6585283,"avatar_url":"https://avatars.githubusercontent.com/u/6585283?v=3","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":"2016-10-03T21:17:57Z","updated_at":"2016-10-03T21:17:57Z","body":"@romeotheriault, 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<!--- boilerplate: issue_renotify_maintainer --->"}}
{"actor":{"display_login":"ansibot"}}