{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/29353","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/29353/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/29353/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/29353/events","html_url":"https://github.com/ansible/ansible/issues/29353","id":256559008,"number":29353,"title":"Archive with remote_src=yes strips the second / in http://","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":3,"created_at":"2017-09-11T01:36:06Z","updated_at":"2017-09-11T01:39:08Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"From @zaphinath on 2016-08-22T19:02:53Z\r\n##### ISSUE TYPE\n- Bug Report\n##### COMPONENT NAME\n\narchive\n##### ANSIBLE VERSION\n\n```\nansible 2.1.0.0\n  config file = \n  configured module search path = Default w/o overrides\n```\n##### CONFIGURATION\n\nUsing default\n##### OS / ENVIRONMENT\n\nRunning ansible on OSX El Capitain and remote host is centos 7\n##### SUMMARY\n\nI am trying to download a remote tar and extract it. It appears that I am losing a / in the src\n##### STEPS TO REPRODUCE\n\nI am running the following command as one of my roles called zookeeper.\n\n```\n- name: extract the file\n  unarchive:\n    src: http://apache.cs.utah.edu/zookeeper/zookeeper-3.4.8/zookeeper-3.4.8.tar.gz\n    dest: /var/zookeeper\n    remote_src: yes\n```\n\nThen I get the following error:\n\n```\nfatal: [10.84.236.95]: FAILED! => {\"failed\": true, \"msg\": \"file or module does not exist: /Users/dcarr/Projects/bigtreeawsscripts/aws-scripts/src/main/ansible/http:/apache.cs.utah.edu/zookeeper/zookeeper-3.4.8/zookeeper-3.4.8.tar.gz\"}\n```\n##### EXPECTED RESULTS\n\nI would expect with :// in the original and remote_src turned on that I would be able to download it remotely.\n##### ACTUAL RESULTS\n\nIt looks like http:// is turned into http:/ and it never tries to download remotely. Instead it looks for the file on my local machine.\n\r\nCopied from original issue: ansible/ansible-modules-extras#2766\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/328393818","html_url":"https://github.com/ansible/ansible/issues/29353#issuecomment-328393818","issue_url":"https://api.github.com/repos/ansible/ansible/issues/29353","id":328393818,"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-11T01:39:08Z","updated_at":"2017-09-11T01:39:08Z","author_association":"CONTRIBUTOR","body":"From @bendoh on 2016-08-22T19:02:53Z\r\n\r\n(still not my module @ansibot !!!)\n"}}
{"actor":{"display_login":"ansibot"}}