freeipa / ansible-freeipa

Ansible roles and modules for FreeIPA
GNU General Public License v3.0
489 stars 232 forks source link

ansible_freeipa_module: date_format should return a string, not datetime #1267

Closed t-woerner closed 1 month ago

t-woerner commented 1 month ago

date_format was returning a datetime.datetime instead of a string. This has ben working fine with normal command processing, but is sometimes an issue with batch processing in the user module.

t-woerner commented 1 month ago

This should be done, but then also the result from user_show needs to be converted to a string.