apt module and per package releases

I’m trying to install packages from a specific release/distro (unstable) in Debian using /unstable syntax. Here’s an example:

ansible debian-virtual -m apt -a “name=emacs24/unstable”
10.211.55.17 | FAILED >> {
“failed”: true,
“msg”: “No package matching ‘emacs24/unstable’ is available”
}

I am aware of the default_release option, however this option is unsuitable because it causes apt-get to pull in not just the package, but all it’s dependencies from the specified distro. The syntax above (if it were working) causes apt-get to just use the specified distro for that single package and not it’s dependencies.

Is there some syntax I’m not aware of to make this work, or is it a limitation of the apt module?

  • James