Using LXD in a pipeline

I’d like to put under testing an ansible playbook which deploys LXD containers, so testing this in Drone would requires drone agents being able to run LXD. In turn, installing the required LXD version needs snapd, and snapd (and possibly even LXD) don’t seem to run in Docker.

Did anyone succeed in making the above work ? (run LXD and snap in a pipeline)