On 08/06/2014 10:51 AM, Paul Tötterman wrote:
> $ apt-get remove package*
>
>
> Reading a bit more carefully, if your problem is with the glob, maybe
> try a playbook like this:
>
> |
> ---
> -hosts:all
> tasks:
> -command:dpkg-query -f '${Package}\n'-W 'package*'
> register:query
> -apt:name={{item}}state=absent
> with_items:query.stdout_lines
Thank you, it does the trick. :)
--
“One original thought is worth a thousand mindless quotings.”
“Le vrai n'est pas plus sûr que le probable.”
Diogene Laerce
signature.asc
Description: OpenPGP digital signature
