apt module and per package releases

Skip to first unread message

James Kruth

unread,
Aug 19, 2015, 10:02:19 PM8/19/15
to Ansible Project
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
Reply all
Reply to author
Forward
0 new messages