Nice trick, didn't know about this filter.
much appreciated :)
thanks.
--
Rabin
On 3 March 2018 at 23:55, Kai Stian Olstad
wrote:
> On Saturday, 3 March 2018 21.50.36 CET @rabin wrote:
> > I was assuming it was possible, because of the example which allow to
> > update all packages.
>
> You pr
On Saturday, 3 March 2018 21.50.36 CET @rabin wrote:
> I was assuming it was possible, because of the example which allow to
> update all packages.
You probably have a workaround, but just in case you don't this should work to
remove all packages staring with libreoffice
- dnf:
list: in
I was assuming it was possible, because of the example which allow to
update all packages.
- name: upgrade all packages
dnf:
name: "*"
state: latest
but it seems it is handled specifically in the code, and not passed
directly to the dnf command.
if names == ['*'] and state == 'latest
On Friday, 2 March 2018 12.36.25 CET @rabin wrote:
> I all ready tried that, same result bascily.
When I check the documentation for the dnf module it has nothing about wildcard
so it doesn't support that.
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Goog
I all ready tried that, same result bascily.
ok: [localhost] => (item=[u'b43-openfwwf', u'b43-fwcutter', u'hexchat', u
'libreoffice*', u'claws-mail']) => {
"changed": false,
"invocation": {
"module_args": {
"autoremove": true,
"conf_file": null,
On 02.03.2018 11:24, @rabin wrote:
I like to use Ansible to remove few packages, but it seem not to
support
the wildecard option for package name matching.
- name: Remove Packages
package:
name: "{{ item }}"
state: absent
tags:
- packages_remove
with_items:
- b43-*
- hexchat
Hello all,
I like to use Ansible to remove few packages, but it seem not to support
the wildecard option for package name matching.
- name: Remove Packages
package:
name: "{{ item }}"
state: absent
tags:
- packages_remove
with_items:
- b43-*
- hexchat
- libreoffice*
In th