{"action":"created","issue":{"url":"https://api.github.com/repos/debops/ansible-nginx/issues/14","labels_url":"https://api.github.com/repos/debops/ansible-nginx/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/debops/ansible-nginx/issues/14/comments","events_url":"https://api.github.com/repos/debops/ansible-nginx/issues/14/events","html_url":"https://github.com/debops/ansible-nginx/issues/14","id":54360540,"number":14,"title":"Object has no attribute pki","user":{"login":"Alan01252","id":112859,"avatar_url":"https://avatars.githubusercontent.com/u/112859?v=3","gravatar_id":"","url":"https://api.github.com/users/Alan01252","html_url":"https://github.com/Alan01252","followers_url":"https://api.github.com/users/Alan01252/followers","following_url":"https://api.github.com/users/Alan01252/following{/other_user}","gists_url":"https://api.github.com/users/Alan01252/gists{/gist_id}","starred_url":"https://api.github.com/users/Alan01252/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alan01252/subscriptions","organizations_url":"https://api.github.com/users/Alan01252/orgs","repos_url":"https://api.github.com/users/Alan01252/repos","events_url":"https://api.github.com/users/Alan01252/events{/privacy}","received_events_url":"https://api.github.com/users/Alan01252/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/debops/ansible-nginx/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-14T18:52:40Z","updated_at":"2015-01-14T19:39:42Z","closed_at":"2015-01-14T19:38:44Z","body":"Hi guys,\r\n\r\nThe latest commit isn't working for me getting this error:\r\n\r\n    TASK: [debops.nginx | Generate nginx server configuration] ******************** \r\n    fatal: [web01] => {'msg': \"AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'pki'\", 'failed': True}\r\n    fatal: [web01] => {'msg': 'One or more items failed.', 'failed': True, 'changed': False, 'results': [{'msg': \"AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'pki'\", 'failed': True}]}\r\n    \r\n    FATAL: all hosts have already failed -- aborting\r\n\r\n\r\nI tried some obvious things but for the life of me I couldn't figure out which object is missing the .pki variable. Rolling back to the commit before the PKI stuff all worked.\r\n\r\nHelped greatly appreciated :)\r\n\r\nCheers\r\n\r\nAlan"},"comment":{"url":"https://api.github.com/repos/debops/ansible-nginx/issues/comments/69977492","html_url":"https://github.com/debops/ansible-nginx/issues/14#issuecomment-69977492","issue_url":"https://api.github.com/repos/debops/ansible-nginx/issues/14","id":69977492,"user":{"login":"drybjed","id":1043958,"avatar_url":"https://avatars.githubusercontent.com/u/1043958?v=3","gravatar_id":"","url":"https://api.github.com/users/drybjed","html_url":"https://github.com/drybjed","followers_url":"https://api.github.com/users/drybjed/followers","following_url":"https://api.github.com/users/drybjed/following{/other_user}","gists_url":"https://api.github.com/users/drybjed/gists{/gist_id}","starred_url":"https://api.github.com/users/drybjed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drybjed/subscriptions","organizations_url":"https://api.github.com/users/drybjed/orgs","repos_url":"https://api.github.com/users/drybjed/repos","events_url":"https://api.github.com/users/drybjed/events{/privacy}","received_events_url":"https://api.github.com/users/drybjed/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T19:39:42Z","updated_at":"2015-01-14T19:39:42Z","body":"@Alan01252 This should do it. Also, a heads up - support for SSL certificates changed in nginx, this includes some variables. You might want to check your inventory and update it if necessary."}}