apt should never need a parameter to not hang, however some *specific* packages can sometimes be poorly coded.
Not saying that's the case here. I'd first check your ansible version and then file a bug with steps to reproduce. On Thu, Jul 10, 2014 at 7:45 PM, Michael Palumbo < [email protected]> wrote: > What is the parameter of the apt module to use to avoid that? > > I run the following and it hangs... > > - name: update APT package cache > sudo: yes > apt: update_cache=yes > > - name: upgrade all safe packages > sudo: yes > apt: upgrade=safe > > > Thanks > > -- > 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/d0595406-cff0-441d-98b3-a79b8f19b5de%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/d0595406-cff0-441d-98b3-a79b8f19b5de%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgwuykWX%3DqUqDw0P6YUONKGSaSmhbABh8t-iEQrUxwb1%2BA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
