Module apt with state=build-dep reports change even when there is none #38995
Labels
affects_2.5
This issue/PR affects Ansible v2.5
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
python3
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
ISSUE TYPE
COMPONENT NAME
apt
ANSIBLE VERSION
CONFIGURATION
ANSIBLE_PIPELINING(/etc/ansible/ansible.cfg) = True
DEFAULT_GATHERING(/etc/ansible/ansible.cfg) = smart
DEFAULT_REMOTE_USER(/etc/ansible/ansible.cfg) = root
OS / ENVIRONMENT
Debian Stretch for both master and controlled node. The master is running amd64 arch and controlled node armhf.
SUMMARY
When using state=build-dep there is a change each time the task is run. When using -d I am getting this kind of output:
STEPS TO REPRODUCE
EXPECTED RESULTS
I was expecting build-dep to report "changed" only once. However it seems that the status output from build-dep of apt is seen as indicating a change even when there is one.
ACTUAL RESULTS
With verbose, I am getting more output:
The text was updated successfully, but these errors were encountered: