{"action":"closed","number":35099,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/35099","id":164021916,"html_url":"https://github.com/ansible/ansible/pull/35099","diff_url":"https://github.com/ansible/ansible/pull/35099.diff","patch_url":"https://github.com/ansible/ansible/pull/35099.patch","issue_url":"https://api.github.com/repos/ansible/ansible/issues/35099","number":35099,"state":"closed","locked":false,"title":"Fix jinja2>=2.9 nested include vars","user":{"login":"mkrizek","id":1215518,"avatar_url":"https://avatars2.githubusercontent.com/u/1215518?v=4","gravatar_id":"","url":"https://api.github.com/users/mkrizek","html_url":"https://github.com/mkrizek","followers_url":"https://api.github.com/users/mkrizek/followers","following_url":"https://api.github.com/users/mkrizek/following{/other_user}","gists_url":"https://api.github.com/users/mkrizek/gists{/gist_id}","starred_url":"https://api.github.com/users/mkrizek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkrizek/subscriptions","organizations_url":"https://api.github.com/users/mkrizek/orgs","repos_url":"https://api.github.com/users/mkrizek/repos","events_url":"https://api.github.com/users/mkrizek/events{/privacy}","received_events_url":"https://api.github.com/users/mkrizek/received_events","type":"User","site_admin":false},"body":"##### SUMMARY\r\n<!--- Describe the change, including rationale and design decisions -->\r\nThis fixes a bug when parent's local vars where not available in nested\r\nincludes. The bug can only be seen with jinja>=2.9 which changes\r\nhow the variable scopes worked.\r\n\r\nFixes #34886\r\n<!---\r\nIf you are fixing an existing issue, please include \"Fixes #nnn\" in your\r\ncommit message and your description; but you should still explain what\r\nthe change does.\r\n-->\r\n\r\n##### ISSUE TYPE\r\n - Bugfix Pull Request\r\n\r\n##### COMPONENT NAME\r\ntemplate\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from \"ansible --version\" between quotes below -->\r\n```\r\ndevel\r\n```\r\n\r\n\r\n##### ADDITIONAL INFORMATION\r\n<!---\r\nInclude additional information to help people understand the change here.\r\nFor bugs that don't have a linked bug report, a step-by-step reproduction\r\nof the problem is helpful.\r\n  -->","created_at":"2018-01-19T17:09:52Z","updated_at":"2018-02-07T09:58:30Z","closed_at":"2018-02-07T09:58:30Z","merged_at":"2018-02-07T09:58:30Z","merge_commit_sha":"63fdc3f08f04dd30c4c1cb51f7192d5e6c481c8c","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jimi-c","id":26403,"avatar_url":"https://avatars0.githubusercontent.com/u/26403?v=4","gravatar_id":"","url":"https://api.github.com/users/jimi-c","html_url":"https://github.com/jimi-c","followers_url":"https://api.github.com/users/jimi-c/followers","following_url":"https://api.github.com/users/jimi-c/following{/other_user}","gists_url":"https://api.github.com/users/jimi-c/gists{/gist_id}","starred_url":"https://api.github.com/users/jimi-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimi-c/subscriptions","organizations_url":"https://api.github.com/users/jimi-c/orgs","repos_url":"https://api.github.com/users/jimi-c/repos","events_url":"https://api.github.com/users/jimi-c/events{/privacy}","received_events_url":"https://api.github.com/users/jimi-c/received_events","type":"User","site_admin":false},{"login":"abadger","id":209242,"avatar_url":"https://avatars2.githubusercontent.com/u/209242?v=4","gravatar_id":"","url":"https://api.github.com/users/abadger","html_url":"https://github.com/abadger","followers_url":"https://api.github.com/users/abadger/followers","following_url":"https://api.github.com/users/abadger/following{/other_user}","gists_url":"https://api.github.com/users/abadger/gists{/gist_id}","starred_url":"https://api.github.com/users/abadger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abadger/subscriptions","organizations_url":"https://api.github.com/users/abadger/orgs","repos_url":"https://api.github.com/users/abadger/repos","events_url":"https://api.github.com/users/abadger/events{/privacy}","received_events_url":"https://api.github.com/users/abadger/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible/pulls/35099/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible/pulls/35099/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/35099/comments","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/70bebb8b726008afb3f9fb92bde2a9b96595f31a","head":{"label":"mkrizek:jinja-nested","ref":"jinja-nested","sha":"70bebb8b726008afb3f9fb92bde2a9b96595f31a","user":{"login":"mkrizek","id":1215518,"avatar_url":"https://avatars2.githubusercontent.com/u/1215518?v=4","gravatar_id":"","url":"https://api.github.com/users/mkrizek","html_url":"https://github.com/mkrizek","followers_url":"https://api.github.com/users/mkrizek/followers","following_url":"https://api.github.com/users/mkrizek/following{/other_user}","gists_url":"https://api.github.com/users/mkrizek/gists{/gist_id}","starred_url":"https://api.github.com/users/mkrizek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkrizek/subscriptions","organizations_url":"https://api.github.com/users/mkrizek/orgs","repos_url":"https://api.github.com/users/mkrizek/repos","events_url":"https://api.github.com/users/mkrizek/events{/privacy}","received_events_url":"https://api.github.com/users/mkrizek/received_events","type":"User","site_admin":false},"repo":{"id":97448309,"name":"ansible","full_name":"mkrizek/ansible","owner":{"login":"mkrizek","id":1215518,"avatar_url":"https://avatars2.githubusercontent.com/u/1215518?v=4","gravatar_id":"","url":"https://api.github.com/users/mkrizek","html_url":"https://github.com/mkrizek","followers_url":"https://api.github.com/users/mkrizek/followers","following_url":"https://api.github.com/users/mkrizek/following{/other_user}","gists_url":"https://api.github.com/users/mkrizek/gists{/gist_id}","starred_url":"https://api.github.com/users/mkrizek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkrizek/subscriptions","organizations_url":"https://api.github.com/users/mkrizek/orgs","repos_url":"https://api.github.com/users/mkrizek/repos","events_url":"https://api.github.com/users/mkrizek/events{/privacy}","received_events_url":"https://api.github.com/users/mkrizek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mkrizek/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":true,"url":"https://api.github.com/repos/mkrizek/ansible","forks_url":"https://api.github.com/repos/mkrizek/ansible/forks","keys_url":"https://api.github.com/repos/mkrizek/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mkrizek/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mkrizek/ansible/teams","hooks_url":"https://api.github.com/repos/mkrizek/ansible/hooks","issue_events_url":"https://api.github.com/repos/mkrizek/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/mkrizek/ansible/events","assignees_url":"https://api.github.com/repos/mkrizek/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/mkrizek/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/mkrizek/ansible/tags","blobs_url":"https://api.github.com/repos/mkrizek/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mkrizek/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mkrizek/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/mkrizek/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mkrizek/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/mkrizek/ansible/languages","stargazers_url":"https://api.github.com/repos/mkrizek/ansible/stargazers","contributors_url":"https://api.github.com/repos/mkrizek/ansible/contributors","subscribers_url":"https://api.github.com/repos/mkrizek/ansible/subscribers","subscription_url":"https://api.github.com/repos/mkrizek/ansible/subscription","commits_url":"https://api.github.com/repos/mkrizek/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/mkrizek/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/mkrizek/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/mkrizek/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/mkrizek/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/mkrizek/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mkrizek/ansible/merges","archive_url":"https://api.github.com/repos/mkrizek/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mkrizek/ansible/downloads","issues_url":"https://api.github.com/repos/mkrizek/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/mkrizek/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/mkrizek/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/mkrizek/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mkrizek/ansible/labels{/name}","releases_url":"https://api.github.com/repos/mkrizek/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/mkrizek/ansible/deployments","created_at":"2017-07-17T07:36:40Z","updated_at":"2017-07-17T07:37:04Z","pushed_at":"2018-02-07T09:30:31Z","git_url":"git://github.com/mkrizek/ansible.git","ssh_url":"git@github.com:mkrizek/ansible.git","clone_url":"https://github.com/mkrizek/ansible.git","svn_url":"https://github.com/mkrizek/ansible","homepage":"http://ansible.com/","size":99976,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"9f9bfd819fb6a02b616dbc38b281b335706a2899","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars2.githubusercontent.com/u/1507452?v=4","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":3638964,"name":"ansible","full_name":"ansible/ansible","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars2.githubusercontent.com/u/1507452?v=4","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":false,"url":"https://api.github.com/repos/ansible/ansible","forks_url":"https://api.github.com/repos/ansible/ansible/forks","keys_url":"https://api.github.com/repos/ansible/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible/teams","hooks_url":"https://api.github.com/repos/ansible/ansible/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible/events","assignees_url":"https://api.github.com/repos/ansible/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible/tags","blobs_url":"https://api.github.com/repos/ansible/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible/subscription","commits_url":"https://api.github.com/repos/ansible/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible/merges","archive_url":"https://api.github.com/repos/ansible/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible/downloads","issues_url":"https://api.github.com/repos/ansible/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/ansible/ansible/deployments","created_at":"2012-03-06T14:58:02Z","updated_at":"2018-02-07T09:53:20Z","pushed_at":"2018-02-07T09:58:30Z","git_url":"git://github.com/ansible/ansible.git","ssh_url":"git@github.com:ansible/ansible.git","clone_url":"https://github.com/ansible/ansible.git","svn_url":"https://github.com/ansible/ansible","homepage":"https://www.ansible.com/","size":111480,"stargazers_count":28263,"watchers_count":28263,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10190,"mirror_url":null,"archived":false,"open_issues_count":4610,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":10190,"open_issues":4610,"watchers":28263,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/35099"},"html":{"href":"https://github.com/ansible/ansible/pull/35099"},"issue":{"href":"https://api.github.com/repos/ansible/ansible/issues/35099"},"comments":{"href":"https://api.github.com/repos/ansible/ansible/issues/35099/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible/pulls/35099/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible/pulls/35099/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible/statuses/70bebb8b726008afb3f9fb92bde2a9b96595f31a"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mkrizek","id":1215518,"avatar_url":"https://avatars2.githubusercontent.com/u/1215518?v=4","gravatar_id":"","url":"https://api.github.com/users/mkrizek","html_url":"https://github.com/mkrizek","followers_url":"https://api.github.com/users/mkrizek/followers","following_url":"https://api.github.com/users/mkrizek/following{/other_user}","gists_url":"https://api.github.com/users/mkrizek/gists{/gist_id}","starred_url":"https://api.github.com/users/mkrizek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkrizek/subscriptions","organizations_url":"https://api.github.com/users/mkrizek/orgs","repos_url":"https://api.github.com/users/mkrizek/repos","events_url":"https://api.github.com/users/mkrizek/events{/privacy}","received_events_url":"https://api.github.com/users/mkrizek/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":52,"deletions":22,"changed_files":5}}
{"actor":{"display_login":"mkrizek"}}