On 24 October 2014 16:29, Goran Jurić <[email protected]> wrote: > I am running multiple services on lean (minimal) containers on Debian and > aptitude package needs to be installed on the target system if you want to > run: > > "apt: upgrade=full" command > > Is there a command that does the same but uses apt-get instead? >
Right now, the ansible apt module doesn't give you that choice, no. > > Installing aptitude pulls in a bunch of dependencies and I would like to > avoid that if possible. > This is actually a good question. Even as a longtime Debian/Ubuntu user, I still find it confusing to choose between apt-get and aptitude. So far, the ansible module doesn't give an admin the choice here, which he would have been accustomed (or not) to have when doing things manually. Perhaps this should be revisited, and let the module e.g. use at-get by default, and aptitude as an option? Also, keep in mind that some functionalities (updating sources I believe) are not done by cli directly, but by a python library. Thoughts, fellow more-expert-Debian users? Serge -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEhzMJAFPwPtze%2BfGEPZW7d_DxxHD_j5jLu4ap6XGhB4fTNnVA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
