{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/pulls/2","id":82776181,"html_url":"https://github.com/theforeman/smart_proxy_ansible/pull/2","diff_url":"https://github.com/theforeman/smart_proxy_ansible/pull/2.diff","patch_url":"https://github.com/theforeman/smart_proxy_ansible/pull/2.patch","issue_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/issues/2","number":2,"state":"closed","locked":false,"title":"Refs #16468 - Play ansible roles through smart proxy","user":{"login":"iNecas","id":190443,"avatar_url":"https://avatars.githubusercontent.com/u/190443?v=3","gravatar_id":"","url":"https://api.github.com/users/iNecas","html_url":"https://github.com/iNecas","followers_url":"https://api.github.com/users/iNecas/followers","following_url":"https://api.github.com/users/iNecas/following{/other_user}","gists_url":"https://api.github.com/users/iNecas/gists{/gist_id}","starred_url":"https://api.github.com/users/iNecas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNecas/subscriptions","organizations_url":"https://api.github.com/users/iNecas/orgs","repos_url":"https://api.github.com/users/iNecas/repos","events_url":"https://api.github.com/users/iNecas/events{/privacy}","received_events_url":"https://api.github.com/users/iNecas/received_events","type":"User","site_admin":false},"body":"Opening a separate PR to unblock testing + additional work on this.\r\n\r\nI've separated the working dir from ansible dir, as we don't need to have\r\naccess to the ansible dir (where the roles are), while we need some space\r\nfor writing inventory files.\r\n\r\nSimilar to https://github.com/theforeman/foreman_ansible/pull/40, I would like\r\nto:\r\n  - [x] - extract the common code with smart_proxy_remote_execution_ssh and smart_proxy_dynflow,\r\nand also make the core parts usable\r\n  - [x] - make the core working both with foreman and smart proxy, making it easier to run\r\n  simpler setups.","created_at":"2016-08-25T19:12:49Z","updated_at":"2016-09-07T15:03:30Z","closed_at":"2016-09-07T15:03:30Z","merged_at":"2016-09-07T15:03:30Z","merge_commit_sha":"2f8c17f960046d2bccb2d180fd9f02b81cf657f4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/pulls/2/commits","review_comments_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/pulls/2/comments","review_comment_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/issues/2/comments","statuses_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/statuses/aaddcf4a64c48e177f458af5bb78cddaee72ec02","head":{"label":"iNecas:ansible-run-rebase","ref":"ansible-run-rebase","sha":"aaddcf4a64c48e177f458af5bb78cddaee72ec02","user":{"login":"iNecas","id":190443,"avatar_url":"https://avatars.githubusercontent.com/u/190443?v=3","gravatar_id":"","url":"https://api.github.com/users/iNecas","html_url":"https://github.com/iNecas","followers_url":"https://api.github.com/users/iNecas/followers","following_url":"https://api.github.com/users/iNecas/following{/other_user}","gists_url":"https://api.github.com/users/iNecas/gists{/gist_id}","starred_url":"https://api.github.com/users/iNecas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNecas/subscriptions","organizations_url":"https://api.github.com/users/iNecas/orgs","repos_url":"https://api.github.com/users/iNecas/repos","events_url":"https://api.github.com/users/iNecas/events{/privacy}","received_events_url":"https://api.github.com/users/iNecas/received_events","type":"User","site_admin":false},"repo":{"id":66585570,"name":"smart_proxy_ansible","full_name":"iNecas/smart_proxy_ansible","owner":{"login":"iNecas","id":190443,"avatar_url":"https://avatars.githubusercontent.com/u/190443?v=3","gravatar_id":"","url":"https://api.github.com/users/iNecas","html_url":"https://github.com/iNecas","followers_url":"https://api.github.com/users/iNecas/followers","following_url":"https://api.github.com/users/iNecas/following{/other_user}","gists_url":"https://api.github.com/users/iNecas/gists{/gist_id}","starred_url":"https://api.github.com/users/iNecas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNecas/subscriptions","organizations_url":"https://api.github.com/users/iNecas/orgs","repos_url":"https://api.github.com/users/iNecas/repos","events_url":"https://api.github.com/users/iNecas/events{/privacy}","received_events_url":"https://api.github.com/users/iNecas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iNecas/smart_proxy_ansible","description":"Ansible plugin for smart proxy, with Ansible remote execution provider","fork":true,"url":"https://api.github.com/repos/iNecas/smart_proxy_ansible","forks_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/forks","keys_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/teams","hooks_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/hooks","issue_events_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/issues/events{/number}","events_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/events","assignees_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/assignees{/user}","branches_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/branches{/branch}","tags_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/tags","blobs_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/languages","stargazers_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/stargazers","contributors_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/contributors","subscribers_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/subscribers","subscription_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/subscription","commits_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/contents/{+path}","compare_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/merges","archive_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/downloads","issues_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/issues{/number}","pulls_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/labels{/name}","releases_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/releases{/id}","deployments_url":"https://api.github.com/repos/iNecas/smart_proxy_ansible/deployments","created_at":"2016-08-25T19:08:25Z","updated_at":"2016-08-25T19:08:26Z","pushed_at":"2016-09-07T13:18:12Z","git_url":"git://github.com/iNecas/smart_proxy_ansible.git","ssh_url":"git@github.com:iNecas/smart_proxy_ansible.git","clone_url":"https://github.com/iNecas/smart_proxy_ansible.git","svn_url":"https://github.com/iNecas/smart_proxy_ansible","homepage":null,"size":37,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"theforeman:master","ref":"master","sha":"006b7bfed540eff5a62fe88ad381c9e59eff33f3","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":50989124,"name":"smart_proxy_ansible","full_name":"theforeman/smart_proxy_ansible","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/smart_proxy_ansible","description":"Ansible plugin for smart proxy, with Ansible remote execution provider","fork":false,"url":"https://api.github.com/repos/theforeman/smart_proxy_ansible","forks_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/forks","keys_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/teams","hooks_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/hooks","issue_events_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/events","assignees_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/tags","blobs_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/languages","stargazers_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/stargazers","contributors_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/contributors","subscribers_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/subscribers","subscription_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/subscription","commits_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/merges","archive_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/downloads","issues_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/releases{/id}","deployments_url":"https://api.github.com/repos/theforeman/smart_proxy_ansible/deployments","created_at":"2016-02-03T09:31:58Z","updated_at":"2016-08-26T08:22:24Z","pushed_at":"2016-09-07T15:03:30Z","git_url":"git://github.com/theforeman/smart_proxy_ansible.git","ssh_url":"git@github.com:theforeman/smart_proxy_ansible.git","clone_url":"https://github.com/theforeman/smart_proxy_ansible.git","svn_url":"https://github.com/theforeman/smart_proxy_ansible","homepage":null,"size":24,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":0,"forks":5,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/smart_proxy_ansible/pulls/2"},"html":{"href":"https://github.com/theforeman/smart_proxy_ansible/pull/2"},"issue":{"href":"https://api.github.com/repos/theforeman/smart_proxy_ansible/issues/2"},"comments":{"href":"https://api.github.com/repos/theforeman/smart_proxy_ansible/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/smart_proxy_ansible/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/smart_proxy_ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/smart_proxy_ansible/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/smart_proxy_ansible/statuses/aaddcf4a64c48e177f458af5bb78cddaee72ec02"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dLobatog","id":598891,"avatar_url":"https://avatars.githubusercontent.com/u/598891?v=3","gravatar_id":"","url":"https://api.github.com/users/dLobatog","html_url":"https://github.com/dLobatog","followers_url":"https://api.github.com/users/dLobatog/followers","following_url":"https://api.github.com/users/dLobatog/following{/other_user}","gists_url":"https://api.github.com/users/dLobatog/gists{/gist_id}","starred_url":"https://api.github.com/users/dLobatog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dLobatog/subscriptions","organizations_url":"https://api.github.com/users/dLobatog/orgs","repos_url":"https://api.github.com/users/dLobatog/repos","events_url":"https://api.github.com/users/dLobatog/events{/privacy}","received_events_url":"https://api.github.com/users/dLobatog/received_events","type":"User","site_admin":false},"comments":5,"review_comments":8,"commits":1,"additions":15,"deletions":647,"changed_files":11}}
{"actor":{"display_login":"dLobatog"}}