Does anyone use ansible inside docker? We have for a while now, and we've had nothing but trouble with ansible's service module and docker's inability to run upstart.
Ansible 1.9 onwards seems to prefer using initctl over service, which in Docker is symlinked to /bin/true and so fails silently. Whereas service works fine, since it will default to sysv scripts if upstart isn't available. Is there a specific reason that ansible prefers initctl? Is it worth putting in a PR to detect this use-case specifically (initctl being symlinked to bin/true)? Or would a better fix be to let the user explicitly define a service module somehow? -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/55015913-52b9-4369-9e75-145d1cf54628%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
