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.