Bug 1477183 - ansible fails to remove wildcarded packages
ansible fails to remove wildcarded packages
Product: Fedora
Classification: Fedora
Component: ansible (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Kevin Fenzi
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-08-01 08:22 EDT by Marko Myllynen
Modified: 2018-05-29 07:40 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2018-05-29 07:40:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Marko Myllynen 2017-08-01 08:22:36 EDT
Description of problem:
Something like this worked ok on Fedora 25 but now with Fedora 26 / ansible-2.3.1 no packages are removed:

- name: Remove unhelpful packages
  package: name={{ item }} state=absent
    - '*libreoffice*'

Version-Release number of selected component (if applicable):

How reproducible:
Comment 1 Kevin Fenzi 2017-08-03 17:14:28 EDT
Would you be willing to report this upstream? 


also, does anything change if you use 'dnf' instead of package: ?
Comment 2 Marko Myllynen 2017-08-04 03:14:11 EDT
(In reply to Kevin Fenzi from comment #1)
> Would you be willing to report this upstream? 



> also, does anything change if you use 'dnf' instead of package: ?

Yes, please see the upstream ticket for details.

Comment 3 ernie_07 2017-10-21 18:57:53 EDT
Added Info:
Environment: Updated Fedora 26 Workstation and updated ansible
Failure in modules package AND dnf: state=absent gets ignored
Comment 4 Fedora End Of Life 2018-05-03 03:54:00 EDT
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Comment 5 Fedora End Of Life 2018-05-29 07:40:25 EDT
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.