{"action":"created","issue":{"url":"https://api.github.com/repos/HanXHX/ansible-nginx/issues/1","labels_url":"https://api.github.com/repos/HanXHX/ansible-nginx/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/HanXHX/ansible-nginx/issues/1/comments","events_url":"https://api.github.com/repos/HanXHX/ansible-nginx/issues/1/events","html_url":"https://github.com/HanXHX/ansible-nginx/issues/1","id":98184474,"number":1,"title":"Php upstream with nginx_php parameter","user":{"login":"nayluge","id":7482831,"avatar_url":"https://avatars.githubusercontent.com/u/7482831?v=3","gravatar_id":"","url":"https://api.github.com/users/nayluge","html_url":"https://github.com/nayluge","followers_url":"https://api.github.com/users/nayluge/followers","following_url":"https://api.github.com/users/nayluge/following{/other_user}","gists_url":"https://api.github.com/users/nayluge/gists{/gist_id}","starred_url":"https://api.github.com/users/nayluge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nayluge/subscriptions","organizations_url":"https://api.github.com/users/nayluge/orgs","repos_url":"https://api.github.com/users/nayluge/repos","events_url":"https://api.github.com/users/nayluge/events{/privacy}","received_events_url":"https://api.github.com/users/nayluge/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-30T14:34:21Z","updated_at":"2015-07-30T14:48:28Z","closed_at":"2015-07-30T14:47:23Z","body":"Hello,\r\n\r\nI have an error when i try to configure a basic nginx server with your role. Looks like the nginx_php parameter isn't enaugh for socket configuration.\r\n\r\nsite.yml\r\n```\r\nvars:\r\n    nginx_php: \r\n      - true\r\n    nginx_vhosts:\r\n      - name:\r\n          - 'dev.blabla.com'\r\n        template: '_sf2'\r\n```\r\n\r\nerror\r\n```\r\nTASK: [ansible-nginx | TEMPLATE | Deploy PHP upstream to Nginx] *************** \r\nfatal: [ks3353718.kimsufi.com] => {'msg': \"AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'host'\", 'failed': True}\r\nfatal: [ks3353718.kimsufi.com] => {'msg': \"AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'host'\", 'failed': True}\r\n\r\nFATAL: all hosts have already failed -- aborting\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/HanXHX/ansible-nginx/issues/comments/126354738","html_url":"https://github.com/HanXHX/ansible-nginx/issues/1#issuecomment-126354738","issue_url":"https://api.github.com/repos/HanXHX/ansible-nginx/issues/1","id":126354738,"user":{"login":"HanXHX","id":5664215,"avatar_url":"https://avatars.githubusercontent.com/u/5664215?v=3","gravatar_id":"","url":"https://api.github.com/users/HanXHX","html_url":"https://github.com/HanXHX","followers_url":"https://api.github.com/users/HanXHX/followers","following_url":"https://api.github.com/users/HanXHX/following{/other_user}","gists_url":"https://api.github.com/users/HanXHX/gists{/gist_id}","starred_url":"https://api.github.com/users/HanXHX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HanXHX/subscriptions","organizations_url":"https://api.github.com/users/HanXHX/orgs","repos_url":"https://api.github.com/users/HanXHX/repos","events_url":"https://api.github.com/users/HanXHX/events{/privacy}","received_events_url":"https://api.github.com/users/HanXHX/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T14:48:28Z","updated_at":"2015-07-30T14:48:28Z","body":"Hi,\r\n\r\n2 things: \r\n\r\n- `nginx_php` is not a list\r\n- template \"sf2\" is not available\r\n- I working right now on this role... it's not production ready. SSL management will come later. \r\n"}}