zach-adams / hgv-deploy-full

This Ansible Playbook is designed to setup a Mercury-Like environment on a Production server without the configuration hassle.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ubuntu 14.10/Nginx issue

ejohansson opened this issue · comments

Distributor ID: Ubuntu
Description: Ubuntu 14.10
Release: 14.10
Codename: utopic

failed: [yoursite.com] => {"failed": true}
msg: failure 1 running systemctl show for 'nginx.service': Failed to get D-Bus connection: No connection to service manager.

FATAL: all hosts have already failed -- aborting


Similar problem: http://stackoverflow.com/questions/27057992/nginx-cannot-restart-via-ansible

File: hgv-deploy-full/roles/nginx/tasks/main.yml

Change https://github.com/zach-adams/hgv-deploy-full/blob/master/roles/nginx/tasks/main.yml#L56

  • service: name=nginx state=started enabled=yes

to

  • service: name=nginx state=started