apt module adding/removing packages always results in "changed" state

I’m running Ansible 1.4.4.

I have this in one of my roles to force the presence of certain packages:

  • name: Remove packages
    apt: pkg={{ item }} state=absent
    with_items:
  • dmidecode

The result is that I always get a “changed” state even if nothing was removed.

TASK: [common | Remove packages] **********************************************
changed: [d01] => (item=dmidecode)

The same thing appears to happen with adding a list of packages.

Is this normal or a bug?

Thanks!
iordan

If you’re seeing this on the development branch code, please file a bug.

–Michael