I’m trying to create a role that deploys one application using Podman Quadlet and I want to test the role using Molecule with host provided by Podman. This means that, during test, the application with be deployed in a “Podman in Podman” scenario.
When Ansible Molecule runs containers.podman.podman_quadlet, it reports the error
connecting to systemd dbus: dial unix /run/systemd/private: connect: no such file or directory
I’m on mobile right now but my guess is that the image quay.io/podman/stable:latest doesn’t start systemd as PID 1, so systemd is not running.
Can you please try using the instructions outlined in the Molecule documentation for running systemd in a container using podman: Systemd container - Ansible Molecule