univention / ansible-modules

Ansible Modules for UCS
GNU General Public License v3.0
11 stars 6 forks source link

univention_directory_manager: Task status is never changed #6

Closed Daenou closed 1 year ago

Daenou commented 1 year ago

The UDM module doesn't appear to check if the state is already present on the machine, instead it executes the code either way every time you run the code, and reports the task as "ok", even though it should be "changed" as ansible actually modified something on the system.

Furthermore, this makes it impossible to see what actually has been changed on the system, did we have to create a completely new object, or did we just modify the description? Impossible to know currently.

HunterZeroSix commented 1 year ago

fixed in feat(univention_directory_manager): implement change status

Feel free to reopen or create a new issue if the error occurs again.