check with 2.0, the service module had issues detecting the correct service system inside docker because of how docker setup things, we fixed several corner cases in the latest version of the service module.
it might have worked 'better' in older versions as detection failed in other ways even in non docker environments but in ways that worked for you. if you still have issues please open a github ticket and provide the simplest reproducible case possible. -- 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/CAJ5XC8kEqWsL3xMswCknVyyx33%3DgziNs57VXxbUmkqiPhj%2BJEQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.