IBM / ansible-power-aix

Developer contributions for Ansible Automation on Power
https://ibm.github.io/ansible-power-aix/
GNU General Public License v3.0
80 stars 93 forks source link

install_all_updates not returning Changed when the task updated some software #513

Closed lionelwidmer closed 2 months ago

lionelwidmer commented 2 months ago

Describe the bug The task:

- name: Update EMC ODM definitions
  ibm.power_aix.install_all_updates:
    device: "{{ emc_odm_path }}"
    agree_licenses: True
    commit: True
  become: True
  register: emc_odm

When something has been done (some software got updated by the task), it returns Ok, but when nothing has been done by the task, it returns Changed

lionelwidmer commented 2 months ago

I raised up PR https://github.com/IBM/ansible-power-aix/pull/516 to fix this

nitismis commented 2 months ago

merged the PR. CLosing the issue.