{"action":"closed","number":38345,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/38345","id":179711678,"html_url":"https://github.com/ansible/ansible/pull/38345","diff_url":"https://github.com/ansible/ansible/pull/38345.diff","patch_url":"https://github.com/ansible/ansible/pull/38345.patch","issue_url":"https://api.github.com/repos/ansible/ansible/issues/38345","number":38345,"state":"closed","locked":false,"title":"abs test overwrites built-in jinja2 abs filter","user":{"login":"doubleplush","id":3674259,"avatar_url":"https://avatars1.githubusercontent.com/u/3674259?v=4","gravatar_id":"","url":"https://api.github.com/users/doubleplush","html_url":"https://github.com/doubleplush","followers_url":"https://api.github.com/users/doubleplush/followers","following_url":"https://api.github.com/users/doubleplush/following{/other_user}","gists_url":"https://api.github.com/users/doubleplush/gists{/gist_id}","starred_url":"https://api.github.com/users/doubleplush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doubleplush/subscriptions","organizations_url":"https://api.github.com/users/doubleplush/orgs","repos_url":"https://api.github.com/users/doubleplush/repos","events_url":"https://api.github.com/users/doubleplush/events{/privacy}","received_events_url":"https://api.github.com/users/doubleplush/received_events","type":"User","site_admin":false},"body":"The abs test for absolute paths overwrites the built-in Jinja2 abs\r\nfilter, preventing the absolute value of numbers from being taken and\r\nbreaking existing code which makes use of the absolute value filter.\r\n\r\n##### SUMMARY\r\nThe abs test for absolute paths overwrites the built-in Jinja2 abs\r\nfilter, preventing the absolute value of numbers from being taken and\r\nbreaking existing code which makes use of the absolute value filter.\r\n\r\n##### ISSUE TYPE\r\nBugfix Pull Request\r\n\r\n##### COMPONENT NAME\r\nabs test\r\n\r\n##### ANSIBLE VERSION\r\naffects 2.5.0 and devel\r\n\r\n\r\n##### ADDITIONAL INFORMATION\r\n\r\nansible -m debug -a 'msg=\"{{ -4 | abs }}\"' localhost\r\n\r\nlocalhost | FAILED! => {\r\n    \"msg\": \"Unexpected templating type error occurred on ({{ -4 | abs }}): expected str, bytes or os.PathLike object, not int\"\r\n\r\n","created_at":"2018-04-05T15:24:22Z","updated_at":"2018-04-05T15:46:44Z","closed_at":"2018-04-05T15:46:44Z","merged_at":null,"merge_commit_sha":"db992cd4e6701afbcb62b2770b517024fbc48f5d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":785271699,"url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":503572087,"url":"https://api.github.com/repos/ansible/ansible/labels/needs_triage","name":"needs_triage","color":"0e8a16","default":false},{"id":636352796,"url":"https://api.github.com/repos/ansible/ansible/labels/support:core","name":"support:core","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible/pulls/38345/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible/pulls/38345/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/38345/comments","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/391e498e665963e1eec168a8c007d284de5299db","head":{"label":"doubleplush:devel","ref":"devel","sha":"391e498e665963e1eec168a8c007d284de5299db","user":{"login":"doubleplush","id":3674259,"avatar_url":"https://avatars1.githubusercontent.com/u/3674259?v=4","gravatar_id":"","url":"https://api.github.com/users/doubleplush","html_url":"https://github.com/doubleplush","followers_url":"https://api.github.com/users/doubleplush/followers","following_url":"https://api.github.com/users/doubleplush/following{/other_user}","gists_url":"https://api.github.com/users/doubleplush/gists{/gist_id}","starred_url":"https://api.github.com/users/doubleplush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doubleplush/subscriptions","organizations_url":"https://api.github.com/users/doubleplush/orgs","repos_url":"https://api.github.com/users/doubleplush/repos","events_url":"https://api.github.com/users/doubleplush/events{/privacy}","received_events_url":"https://api.github.com/users/doubleplush/received_events","type":"User","site_admin":false},"repo":{"id":106607798,"name":"ansible","full_name":"doubleplush/ansible","owner":{"login":"doubleplush","id":3674259,"avatar_url":"https://avatars1.githubusercontent.com/u/3674259?v=4","gravatar_id":"","url":"https://api.github.com/users/doubleplush","html_url":"https://github.com/doubleplush","followers_url":"https://api.github.com/users/doubleplush/followers","following_url":"https://api.github.com/users/doubleplush/following{/other_user}","gists_url":"https://api.github.com/users/doubleplush/gists{/gist_id}","starred_url":"https://api.github.com/users/doubleplush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doubleplush/subscriptions","organizations_url":"https://api.github.com/users/doubleplush/orgs","repos_url":"https://api.github.com/users/doubleplush/repos","events_url":"https://api.github.com/users/doubleplush/events{/privacy}","received_events_url":"https://api.github.com/users/doubleplush/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/doubleplush/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/doubleplush/ansible","forks_url":"https://api.github.com/repos/doubleplush/ansible/forks","keys_url":"https://api.github.com/repos/doubleplush/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doubleplush/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doubleplush/ansible/teams","hooks_url":"https://api.github.com/repos/doubleplush/ansible/hooks","issue_events_url":"https://api.github.com/repos/doubleplush/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/doubleplush/ansible/events","assignees_url":"https://api.github.com/repos/doubleplush/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/doubleplush/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/doubleplush/ansible/tags","blobs_url":"https://api.github.com/repos/doubleplush/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doubleplush/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doubleplush/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/doubleplush/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doubleplush/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/doubleplush/ansible/languages","stargazers_url":"https://api.github.com/repos/doubleplush/ansible/stargazers","contributors_url":"https://api.github.com/repos/doubleplush/ansible/contributors","subscribers_url":"https://api.github.com/repos/doubleplush/ansible/subscribers","subscription_url":"https://api.github.com/repos/doubleplush/ansible/subscription","commits_url":"https://api.github.com/repos/doubleplush/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/doubleplush/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/doubleplush/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/doubleplush/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/doubleplush/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/doubleplush/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doubleplush/ansible/merges","archive_url":"https://api.github.com/repos/doubleplush/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doubleplush/ansible/downloads","issues_url":"https://api.github.com/repos/doubleplush/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/doubleplush/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/doubleplush/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/doubleplush/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doubleplush/ansible/labels{/name}","releases_url":"https://api.github.com/repos/doubleplush/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/doubleplush/ansible/deployments","created_at":"2017-10-11T20:48:33Z","updated_at":"2018-04-05T15:16:59Z","pushed_at":"2018-04-05T15:32:36Z","git_url":"git://github.com/doubleplush/ansible.git","ssh_url":"git@github.com:doubleplush/ansible.git","clone_url":"https://github.com/doubleplush/ansible.git","svn_url":"https://github.com/doubleplush/ansible","homepage":"https://www.ansible.com/","size":106272,"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":{"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":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"f9bd29fe4d4daa8e7462b9f491039a23acaa2e3b","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-04-05T14:57:58Z","pushed_at":"2018-04-05T15:44:52Z","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":116662,"stargazers_count":29405,"watchers_count":29405,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10742,"mirror_url":null,"archived":false,"open_issues_count":4993,"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":10742,"open_issues":4993,"watchers":29405,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/38345"},"html":{"href":"https://github.com/ansible/ansible/pull/38345"},"issue":{"href":"https://api.github.com/repos/ansible/ansible/issues/38345"},"comments":{"href":"https://api.github.com/repos/ansible/ansible/issues/38345/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible/pulls/38345/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible/pulls/38345/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible/statuses/391e498e665963e1eec168a8c007d284de5299db"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":0,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"sivel"}}