{"action":"created","comment":{"url":"https://api.github.com/repos/phansible/role-nginx/pulls/comments/48447051","id":48447051,"diff_hunk":"@@ -19,7 +19,7 @@ server {\n \n     location ~ \\.php$ {\n         fastcgi_split_path_info ^(.+\\.php)(/.+)$;\n-        fastcgi_pass unix:/var/run/php5-fpm.sock;\n+        fastcgi_pass unix:{% if php.ppa == 'php-7.0' %}/var/run/php/php7.0-fpm.sock{% else %}/var/run/php5-fpm.sock{% endif %};","path":"templates/default.tpl","position":5,"original_position":5,"commit_id":"aabea1ed068ec8dc1a31bcb7445fe8cdfbf6e623","original_commit_id":"aabea1ed068ec8dc1a31bcb7445fe8cdfbf6e623","user":{"login":"debo","id":493257,"avatar_url":"https://avatars.githubusercontent.com/u/493257?v=3","gravatar_id":"","url":"https://api.github.com/users/debo","html_url":"https://github.com/debo","followers_url":"https://api.github.com/users/debo/followers","following_url":"https://api.github.com/users/debo/following{/other_user}","gists_url":"https://api.github.com/users/debo/gists{/gist_id}","starred_url":"https://api.github.com/users/debo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/debo/subscriptions","organizations_url":"https://api.github.com/users/debo/orgs","repos_url":"https://api.github.com/users/debo/repos","events_url":"https://api.github.com/users/debo/events{/privacy}","received_events_url":"https://api.github.com/users/debo/received_events","type":"User","site_admin":false},"body":"@popstas as I mentioned in the other PR, would it be possible to to use a dynamically set fact also in this case? I don''t like the fact that nginx has to access variables from a different role which might not exists.","created_at":"2015-12-26T12:55:58Z","updated_at":"2015-12-26T12:55:58Z","html_url":"https://github.com/phansible/role-nginx/pull/3#discussion_r48447051","pull_request_url":"https://api.github.com/repos/phansible/role-nginx/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/phansible/role-nginx/pulls/comments/48447051"},"html":{"href":"https://github.com/phansible/role-nginx/pull/3#discussion_r48447051"},"pull_request":{"href":"https://api.github.com/repos/phansible/role-nginx/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/phansible/role-nginx/pulls/3","id":54198942,"html_url":"https://github.com/phansible/role-nginx/pull/3","diff_url":"https://github.com/phansible/role-nginx/pull/3.diff","patch_url":"https://github.com/phansible/role-nginx/pull/3.patch","issue_url":"https://api.github.com/repos/phansible/role-nginx/issues/3","number":3,"state":"open","locked":false,"title":"php-fpm for php-7.0","user":{"login":"popstas","id":3027126,"avatar_url":"https://avatars.githubusercontent.com/u/3027126?v=3","gravatar_id":"","url":"https://api.github.com/users/popstas","html_url":"https://github.com/popstas","followers_url":"https://api.github.com/users/popstas/followers","following_url":"https://api.github.com/users/popstas/following{/other_user}","gists_url":"https://api.github.com/users/popstas/gists{/gist_id}","starred_url":"https://api.github.com/users/popstas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popstas/subscriptions","organizations_url":"https://api.github.com/users/popstas/orgs","repos_url":"https://api.github.com/users/popstas/repos","events_url":"https://api.github.com/users/popstas/events{/privacy}","received_events_url":"https://api.github.com/users/popstas/received_events","type":"User","site_admin":false},"body":"issue phansible/phansible#250","created_at":"2015-12-20T12:56:51Z","updated_at":"2015-12-26T12:55:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7d5bf95ddde41b5fc19cd41d80c2cf99acea4bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/phansible/role-nginx/pulls/3/commits","review_comments_url":"https://api.github.com/repos/phansible/role-nginx/pulls/3/comments","review_comment_url":"https://api.github.com/repos/phansible/role-nginx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phansible/role-nginx/issues/3/comments","statuses_url":"https://api.github.com/repos/phansible/role-nginx/statuses/aabea1ed068ec8dc1a31bcb7445fe8cdfbf6e623","head":{"label":"popstas:php-7.0","ref":"php-7.0","sha":"aabea1ed068ec8dc1a31bcb7445fe8cdfbf6e623","user":{"login":"popstas","id":3027126,"avatar_url":"https://avatars.githubusercontent.com/u/3027126?v=3","gravatar_id":"","url":"https://api.github.com/users/popstas","html_url":"https://github.com/popstas","followers_url":"https://api.github.com/users/popstas/followers","following_url":"https://api.github.com/users/popstas/following{/other_user}","gists_url":"https://api.github.com/users/popstas/gists{/gist_id}","starred_url":"https://api.github.com/users/popstas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popstas/subscriptions","organizations_url":"https://api.github.com/users/popstas/orgs","repos_url":"https://api.github.com/users/popstas/repos","events_url":"https://api.github.com/users/popstas/events{/privacy}","received_events_url":"https://api.github.com/users/popstas/received_events","type":"User","site_admin":false},"repo":{"id":48320392,"name":"phansible-role-nginx","full_name":"popstas/phansible-role-nginx","owner":{"login":"popstas","id":3027126,"avatar_url":"https://avatars.githubusercontent.com/u/3027126?v=3","gravatar_id":"","url":"https://api.github.com/users/popstas","html_url":"https://github.com/popstas","followers_url":"https://api.github.com/users/popstas/followers","following_url":"https://api.github.com/users/popstas/following{/other_user}","gists_url":"https://api.github.com/users/popstas/gists{/gist_id}","starred_url":"https://api.github.com/users/popstas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popstas/subscriptions","organizations_url":"https://api.github.com/users/popstas/orgs","repos_url":"https://api.github.com/users/popstas/repos","events_url":"https://api.github.com/users/popstas/events{/privacy}","received_events_url":"https://api.github.com/users/popstas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/popstas/phansible-role-nginx","description":"Nginx Role for Phansible","fork":true,"url":"https://api.github.com/repos/popstas/phansible-role-nginx","forks_url":"https://api.github.com/repos/popstas/phansible-role-nginx/forks","keys_url":"https://api.github.com/repos/popstas/phansible-role-nginx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/popstas/phansible-role-nginx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/popstas/phansible-role-nginx/teams","hooks_url":"https://api.github.com/repos/popstas/phansible-role-nginx/hooks","issue_events_url":"https://api.github.com/repos/popstas/phansible-role-nginx/issues/events{/number}","events_url":"https://api.github.com/repos/popstas/phansible-role-nginx/events","assignees_url":"https://api.github.com/repos/popstas/phansible-role-nginx/assignees{/user}","branches_url":"https://api.github.com/repos/popstas/phansible-role-nginx/branches{/branch}","tags_url":"https://api.github.com/repos/popstas/phansible-role-nginx/tags","blobs_url":"https://api.github.com/repos/popstas/phansible-role-nginx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/popstas/phansible-role-nginx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/popstas/phansible-role-nginx/git/refs{/sha}","trees_url":"https://api.github.com/repos/popstas/phansible-role-nginx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/popstas/phansible-role-nginx/statuses/{sha}","languages_url":"https://api.github.com/repos/popstas/phansible-role-nginx/languages","stargazers_url":"https://api.github.com/repos/popstas/phansible-role-nginx/stargazers","contributors_url":"https://api.github.com/repos/popstas/phansible-role-nginx/contributors","subscribers_url":"https://api.github.com/repos/popstas/phansible-role-nginx/subscribers","subscription_url":"https://api.github.com/repos/popstas/phansible-role-nginx/subscription","commits_url":"https://api.github.com/repos/popstas/phansible-role-nginx/commits{/sha}","git_commits_url":"https://api.github.com/repos/popstas/phansible-role-nginx/git/commits{/sha}","comments_url":"https://api.github.com/repos/popstas/phansible-role-nginx/comments{/number}","issue_comment_url":"https://api.github.com/repos/popstas/phansible-role-nginx/issues/comments{/number}","contents_url":"https://api.github.com/repos/popstas/phansible-role-nginx/contents/{+path}","compare_url":"https://api.github.com/repos/popstas/phansible-role-nginx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/popstas/phansible-role-nginx/merges","archive_url":"https://api.github.com/repos/popstas/phansible-role-nginx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/popstas/phansible-role-nginx/downloads","issues_url":"https://api.github.com/repos/popstas/phansible-role-nginx/issues{/number}","pulls_url":"https://api.github.com/repos/popstas/phansible-role-nginx/pulls{/number}","milestones_url":"https://api.github.com/repos/popstas/phansible-role-nginx/milestones{/number}","notifications_url":"https://api.github.com/repos/popstas/phansible-role-nginx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/popstas/phansible-role-nginx/labels{/name}","releases_url":"https://api.github.com/repos/popstas/phansible-role-nginx/releases{/id}","created_at":"2015-12-20T12:54:35Z","updated_at":"2015-12-20T12:54:43Z","pushed_at":"2015-12-20T14:54:49Z","git_url":"git://github.com/popstas/phansible-role-nginx.git","ssh_url":"git@github.com:popstas/phansible-role-nginx.git","clone_url":"https://github.com/popstas/phansible-role-nginx.git","svn_url":"https://github.com/popstas/phansible-role-nginx","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Smarty","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":"phansible:master","ref":"master","sha":"479dac827432d0816e30dc327e2337093564b5f2","user":{"login":"phansible","id":6732332,"avatar_url":"https://avatars.githubusercontent.com/u/6732332?v=3","gravatar_id":"","url":"https://api.github.com/users/phansible","html_url":"https://github.com/phansible","followers_url":"https://api.github.com/users/phansible/followers","following_url":"https://api.github.com/users/phansible/following{/other_user}","gists_url":"https://api.github.com/users/phansible/gists{/gist_id}","starred_url":"https://api.github.com/users/phansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phansible/subscriptions","organizations_url":"https://api.github.com/users/phansible/orgs","repos_url":"https://api.github.com/users/phansible/repos","events_url":"https://api.github.com/users/phansible/events{/privacy}","received_events_url":"https://api.github.com/users/phansible/received_events","type":"Organization","site_admin":false},"repo":{"id":44399070,"name":"role-nginx","full_name":"phansible/role-nginx","owner":{"login":"phansible","id":6732332,"avatar_url":"https://avatars.githubusercontent.com/u/6732332?v=3","gravatar_id":"","url":"https://api.github.com/users/phansible","html_url":"https://github.com/phansible","followers_url":"https://api.github.com/users/phansible/followers","following_url":"https://api.github.com/users/phansible/following{/other_user}","gists_url":"https://api.github.com/users/phansible/gists{/gist_id}","starred_url":"https://api.github.com/users/phansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phansible/subscriptions","organizations_url":"https://api.github.com/users/phansible/orgs","repos_url":"https://api.github.com/users/phansible/repos","events_url":"https://api.github.com/users/phansible/events{/privacy}","received_events_url":"https://api.github.com/users/phansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phansible/role-nginx","description":"Nginx Role for Phansible","fork":false,"url":"https://api.github.com/repos/phansible/role-nginx","forks_url":"https://api.github.com/repos/phansible/role-nginx/forks","keys_url":"https://api.github.com/repos/phansible/role-nginx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phansible/role-nginx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phansible/role-nginx/teams","hooks_url":"https://api.github.com/repos/phansible/role-nginx/hooks","issue_events_url":"https://api.github.com/repos/phansible/role-nginx/issues/events{/number}","events_url":"https://api.github.com/repos/phansible/role-nginx/events","assignees_url":"https://api.github.com/repos/phansible/role-nginx/assignees{/user}","branches_url":"https://api.github.com/repos/phansible/role-nginx/branches{/branch}","tags_url":"https://api.github.com/repos/phansible/role-nginx/tags","blobs_url":"https://api.github.com/repos/phansible/role-nginx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phansible/role-nginx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phansible/role-nginx/git/refs{/sha}","trees_url":"https://api.github.com/repos/phansible/role-nginx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phansible/role-nginx/statuses/{sha}","languages_url":"https://api.github.com/repos/phansible/role-nginx/languages","stargazers_url":"https://api.github.com/repos/phansible/role-nginx/stargazers","contributors_url":"https://api.github.com/repos/phansible/role-nginx/contributors","subscribers_url":"https://api.github.com/repos/phansible/role-nginx/subscribers","subscription_url":"https://api.github.com/repos/phansible/role-nginx/subscription","commits_url":"https://api.github.com/repos/phansible/role-nginx/commits{/sha}","git_commits_url":"https://api.github.com/repos/phansible/role-nginx/git/commits{/sha}","comments_url":"https://api.github.com/repos/phansible/role-nginx/comments{/number}","issue_comment_url":"https://api.github.com/repos/phansible/role-nginx/issues/comments{/number}","contents_url":"https://api.github.com/repos/phansible/role-nginx/contents/{+path}","compare_url":"https://api.github.com/repos/phansible/role-nginx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phansible/role-nginx/merges","archive_url":"https://api.github.com/repos/phansible/role-nginx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phansible/role-nginx/downloads","issues_url":"https://api.github.com/repos/phansible/role-nginx/issues{/number}","pulls_url":"https://api.github.com/repos/phansible/role-nginx/pulls{/number}","milestones_url":"https://api.github.com/repos/phansible/role-nginx/milestones{/number}","notifications_url":"https://api.github.com/repos/phansible/role-nginx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phansible/role-nginx/labels{/name}","releases_url":"https://api.github.com/repos/phansible/role-nginx/releases{/id}","created_at":"2015-10-16T17:01:35Z","updated_at":"2015-10-16T17:02:00Z","pushed_at":"2015-12-20T14:54:49Z","git_url":"git://github.com/phansible/role-nginx.git","ssh_url":"git@github.com:phansible/role-nginx.git","clone_url":"https://github.com/phansible/role-nginx.git","svn_url":"https://github.com/phansible/role-nginx","homepage":null,"size":130,"stargazers_count":0,"watchers_count":0,"language":"Smarty","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phansible/role-nginx/pulls/3"},"html":{"href":"https://github.com/phansible/role-nginx/pull/3"},"issue":{"href":"https://api.github.com/repos/phansible/role-nginx/issues/3"},"comments":{"href":"https://api.github.com/repos/phansible/role-nginx/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/phansible/role-nginx/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/phansible/role-nginx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phansible/role-nginx/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/phansible/role-nginx/statuses/aabea1ed068ec8dc1a31bcb7445fe8cdfbf6e623"}}}}