Re: [ansible-project] Failed to get D-Bus connection in Docker Container

2017-01-12 Thread Brian Coca
You have systemd installed in the container but it is not really  managing
the services (though the container pretends it does). The easy solution is
removing systemd from the container to stop confusing the detection.


--
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACVha7ciweVz%3Db5uUZ2doWxHe9aHJJm%3DYMQYxHcWQFSVhT3mhA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Failed to get D-Bus connection in Docker Container

2016-12-12 Thread Coolman
Hello there,
I get the error described in the title when I execute systemctl in a docker 
container launcher with Ansible docker module. Thus, I cannot manage 
services in the docker container (eg. satrt/stop/reload nginx service 
...etc.)
How can I avoid this issue when launching a docker container with Andible ?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d57a331e-2de9-4645-bd4c-498da23712e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.