{"action":"opened","number":151,"pull_request":{"url":"https://api.github.com/repos/elastic/ansible-elasticsearch/pulls/151","id":84647852,"html_url":"https://github.com/elastic/ansible-elasticsearch/pull/151","diff_url":"https://github.com/elastic/ansible-elasticsearch/pull/151.diff","patch_url":"https://github.com/elastic/ansible-elasticsearch/pull/151.patch","issue_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/151","number":151,"state":"open","locked":false,"title":"Don't overwrite es_plugins_reinstall but set es_plugins_install instead","user":{"login":"barryib","id":550783,"avatar_url":"https://avatars.githubusercontent.com/u/550783?v=3","gravatar_id":"","url":"https://api.github.com/users/barryib","html_url":"https://github.com/barryib","followers_url":"https://api.github.com/users/barryib/followers","following_url":"https://api.github.com/users/barryib/following{/other_user}","gists_url":"https://api.github.com/users/barryib/gists{/gist_id}","starred_url":"https://api.github.com/users/barryib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryib/subscriptions","organizations_url":"https://api.github.com/users/barryib/orgs","repos_url":"https://api.github.com/users/barryib/repos","events_url":"https://api.github.com/users/barryib/events{/privacy}","received_events_url":"https://api.github.com/users/barryib/received_events","type":"User","site_admin":false},"body":"When using tags or setting explicitly ``es_plugins_reinstall`` to true in vars, this last is overwrite with a ``set_fact``.\r\n\r\nWith this PR, we don't overwrite ``es_plugins_reinstall``, but we ``set es_plugins_install`` instead to switch the plugin install.\r\n\r\nHere is a related issue #147. See [this](https://github.com/elastic/ansible-elasticsearch/issues/147#issuecomment-245434439) comment for details.","created_at":"2016-09-09T13:09:22Z","updated_at":"2016-09-09T13:09:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/pulls/151/commits","review_comments_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/pulls/151/comments","review_comment_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/151/comments","statuses_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/statuses/2c615831602dd4b302019694a6997a4f4afa2d7e","head":{"label":"barryib:plugins-install-when-usign-tags","ref":"plugins-install-when-usign-tags","sha":"2c615831602dd4b302019694a6997a4f4afa2d7e","user":{"login":"barryib","id":550783,"avatar_url":"https://avatars.githubusercontent.com/u/550783?v=3","gravatar_id":"","url":"https://api.github.com/users/barryib","html_url":"https://github.com/barryib","followers_url":"https://api.github.com/users/barryib/followers","following_url":"https://api.github.com/users/barryib/following{/other_user}","gists_url":"https://api.github.com/users/barryib/gists{/gist_id}","starred_url":"https://api.github.com/users/barryib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryib/subscriptions","organizations_url":"https://api.github.com/users/barryib/orgs","repos_url":"https://api.github.com/users/barryib/repos","events_url":"https://api.github.com/users/barryib/events{/privacy}","received_events_url":"https://api.github.com/users/barryib/received_events","type":"User","site_admin":false},"repo":{"id":61449626,"name":"ansible-elasticsearch","full_name":"barryib/ansible-elasticsearch","owner":{"login":"barryib","id":550783,"avatar_url":"https://avatars.githubusercontent.com/u/550783?v=3","gravatar_id":"","url":"https://api.github.com/users/barryib","html_url":"https://github.com/barryib","followers_url":"https://api.github.com/users/barryib/followers","following_url":"https://api.github.com/users/barryib/following{/other_user}","gists_url":"https://api.github.com/users/barryib/gists{/gist_id}","starred_url":"https://api.github.com/users/barryib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryib/subscriptions","organizations_url":"https://api.github.com/users/barryib/orgs","repos_url":"https://api.github.com/users/barryib/repos","events_url":"https://api.github.com/users/barryib/events{/privacy}","received_events_url":"https://api.github.com/users/barryib/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/barryib/ansible-elasticsearch","description":"Ansible playbook for Elasticsearch","fork":true,"url":"https://api.github.com/repos/barryib/ansible-elasticsearch","forks_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/forks","keys_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/teams","hooks_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/events","assignees_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/tags","blobs_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/languages","stargazers_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/subscription","commits_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/merges","archive_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/downloads","issues_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/barryib/ansible-elasticsearch/deployments","created_at":"2016-06-18T19:40:13Z","updated_at":"2016-06-18T19:40:14Z","pushed_at":"2016-09-09T13:03:50Z","git_url":"git://github.com/barryib/ansible-elasticsearch.git","ssh_url":"git@github.com:barryib/ansible-elasticsearch.git","clone_url":"https://github.com/barryib/ansible-elasticsearch.git","svn_url":"https://github.com/barryib/ansible-elasticsearch","homepage":null,"size":162,"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":"elastic:master","ref":"master","sha":"df0c61e93aedfcc84074b0cbf60d079d5bf00ca6","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":34840276,"name":"ansible-elasticsearch","full_name":"elastic/ansible-elasticsearch","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/ansible-elasticsearch","description":"Ansible playbook for Elasticsearch","fork":false,"url":"https://api.github.com/repos/elastic/ansible-elasticsearch","forks_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/forks","keys_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/teams","hooks_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/events","assignees_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/tags","blobs_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/languages","stargazers_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/subscription","commits_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/merges","archive_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/downloads","issues_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/deployments","created_at":"2015-04-30T07:21:20Z","updated_at":"2016-09-02T03:07:39Z","pushed_at":"2016-09-09T13:09:22Z","git_url":"git://github.com/elastic/ansible-elasticsearch.git","ssh_url":"git@github.com:elastic/ansible-elasticsearch.git","clone_url":"https://github.com/elastic/ansible-elasticsearch.git","svn_url":"https://github.com/elastic/ansible-elasticsearch","homepage":null,"size":344,"stargazers_count":106,"watchers_count":106,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":19,"forks":61,"open_issues":19,"watchers":106,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/ansible-elasticsearch/pulls/151"},"html":{"href":"https://github.com/elastic/ansible-elasticsearch/pull/151"},"issue":{"href":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/151"},"comments":{"href":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/151/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/ansible-elasticsearch/pulls/151/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/ansible-elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/ansible-elasticsearch/pulls/151/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/ansible-elasticsearch/statuses/2c615831602dd4b302019694a6997a4f4afa2d7e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"barryib"}}