Module 'group_by' report changed even with 'changed_when: false' #70844
Labels
affects_2.9
This issue/PR affects Ansible v2.9
bug
This issue/PR relates to a bug.
inventory
Inventory category
module
This issue/PR relates to a module.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
SUMMARY
After upgrade from 2.9.10 to 2.9.11 I noticed the module 'group_by' is reporting 'changed'.
This is because this change in #69860
The problem is that it is reporting 'changed' even with
changed_when: false
added to the task.ISSUE TYPE
COMPONENT NAME
group_by
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 18.04 (control and target host)
STEPS TO REPRODUCE
As an example use the task:
EXPECTED RESULTS
The task should always return
changed: false
ACTUAL RESULTS
The task return
changed: true
The text was updated successfully, but these errors were encountered: