{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph-ansible/issues/311","labels_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/311/comments","events_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/311/events","html_url":"https://github.com/ceph/ceph-ansible/pull/311","id":92887578,"number":311,"title":"Use local_action to ensure Ansible executes under python2","user":{"login":"ti-mo","id":3214460,"avatar_url":"https://avatars.githubusercontent.com/u/3214460?v=3","gravatar_id":"","url":"https://api.github.com/users/ti-mo","html_url":"https://github.com/ti-mo","followers_url":"https://api.github.com/users/ti-mo/followers","following_url":"https://api.github.com/users/ti-mo/following{/other_user}","gists_url":"https://api.github.com/users/ti-mo/gists{/gist_id}","starred_url":"https://api.github.com/users/ti-mo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ti-mo/subscriptions","organizations_url":"https://api.github.com/users/ti-mo/orgs","repos_url":"https://api.github.com/users/ti-mo/repos","events_url":"https://api.github.com/users/ti-mo/events{/privacy}","received_events_url":"https://api.github.com/users/ti-mo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-03T14:36:27Z","updated_at":"2015-07-03T14:54:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph-ansible/pulls/311","html_url":"https://github.com/ceph/ceph-ansible/pull/311","diff_url":"https://github.com/ceph/ceph-ansible/pull/311.diff","patch_url":"https://github.com/ceph/ceph-ansible/pull/311.patch"},"body":"`connection: local` opens an SSH connection to localhost, using whatever python interpreter in env. Ansible doesn't run under python3, which a lot of distributions have as default nowadays. Using `local_action` executes the action from the Ansible process on the host, so it's also more efficient."},"comment":{"url":"https://api.github.com/repos/ceph/ceph-ansible/issues/comments/118368255","html_url":"https://github.com/ceph/ceph-ansible/pull/311#issuecomment-118368255","issue_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/311","id":118368255,"user":{"login":"leseb","id":912735,"avatar_url":"https://avatars.githubusercontent.com/u/912735?v=3","gravatar_id":"","url":"https://api.github.com/users/leseb","html_url":"https://github.com/leseb","followers_url":"https://api.github.com/users/leseb/followers","following_url":"https://api.github.com/users/leseb/following{/other_user}","gists_url":"https://api.github.com/users/leseb/gists{/gist_id}","starred_url":"https://api.github.com/users/leseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leseb/subscriptions","organizations_url":"https://api.github.com/users/leseb/orgs","repos_url":"https://api.github.com/users/leseb/repos","events_url":"https://api.github.com/users/leseb/events{/privacy}","received_events_url":"https://api.github.com/users/leseb/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T14:54:36Z","updated_at":"2015-07-03T14:54:36Z","body":"Ok sounds reasonable to me :) thanks!"}}