community.general
community.general copied to clipboard
ansible_galaxy_install has no update functionality that reports only updated collections as changed
Summary
In module ansible_galaxy_install
there is no update functionality, there is only force: true
option that will report changed to all collections even if they were not updated. This probably also applies to roles and not only collections.
There should be a way to update collections and report only updated collections as changed: true
.
This was easy to accomplish using ansible-galaxy
command and a simple changed_when
.
In essence the module ansible_galaxy_install
is less usable than the ansible-galaxy
command.
Issue Type
Feature Idea
Component Name
ansible_galaxy_install
Additional Information
Code of Conduct
- [X] I agree to follow the Ansible Code of Conduct
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
cc @russoz click here for bot help