{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/9438","labels_url":"https://api.github.com/repos/ansible/ansible/issues/9438/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/9438/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/9438/events","html_url":"https://github.com/ansible/ansible/pull/9438","id":47075946,"number":9438,"title":"export ANSIBLE_HOME so it can be used in scripts","user":{"login":"binarytemple","id":419046,"avatar_url":"https://avatars.githubusercontent.com/u/419046?v=3","gravatar_id":"","url":"https://api.github.com/users/binarytemple","html_url":"https://github.com/binarytemple","followers_url":"https://api.github.com/users/binarytemple/followers","following_url":"https://api.github.com/users/binarytemple/following{/other_user}","gists_url":"https://api.github.com/users/binarytemple/gists{/gist_id}","starred_url":"https://api.github.com/users/binarytemple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarytemple/subscriptions","organizations_url":"https://api.github.com/users/binarytemple/orgs","repos_url":"https://api.github.com/users/binarytemple/repos","events_url":"https://api.github.com/users/binarytemple/events{/privacy}","received_events_url":"https://api.github.com/users/binarytemple/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/feature_pull_request","name":"feature_pull_request","color":"009800"},{"url":"https://api.github.com/repos/ansible/ansible/labels/P3","name":"P3","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-10-28T20:19:27Z","updated_at":"2015-07-27T04:57:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/9438","html_url":"https://github.com/ansible/ansible/pull/9438","diff_url":"https://github.com/ansible/ansible/pull/9438.diff","patch_url":"https://github.com/ansible/ansible/pull/9438.patch"},"body":"In order that scripts like this can work \r\n```\r\n#!/bin/bash\r\nansible -vvvv tag_instance_type_foo-training -i \"${ANSIBLE_HOME}/plugins/inventory/ec2.py\" --private-key=~/Downloads/foo-training.pem -u ec2-user -m ping\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/125086098","html_url":"https://github.com/ansible/ansible/pull/9438#issuecomment-125086098","issue_url":"https://api.github.com/repos/ansible/ansible/issues/9438","id":125086098,"user":{"login":"amenonsen","id":23628,"avatar_url":"https://avatars.githubusercontent.com/u/23628?v=3","gravatar_id":"","url":"https://api.github.com/users/amenonsen","html_url":"https://github.com/amenonsen","followers_url":"https://api.github.com/users/amenonsen/followers","following_url":"https://api.github.com/users/amenonsen/following{/other_user}","gists_url":"https://api.github.com/users/amenonsen/gists{/gist_id}","starred_url":"https://api.github.com/users/amenonsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amenonsen/subscriptions","organizations_url":"https://api.github.com/users/amenonsen/orgs","repos_url":"https://api.github.com/users/amenonsen/repos","events_url":"https://api.github.com/users/amenonsen/events{/privacy}","received_events_url":"https://api.github.com/users/amenonsen/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T04:57:19Z","updated_at":"2015-07-27T04:57:19Z","body":"I'm astonished that this particular one-line PR has \"conflicts that must be resolved\", but I agree that it seems harmless and potentially useful. @binarytemple would you care to fix the conflict and resubmit?"}}