Whoever developed this #ansible module for #mqtt was a fool: retain isn't set.
https://docs.ansible.com/ansible/latest/collections/community/general/mqtt_module.html
(cough)
Edit: for those who can't be bothered to follow the link: I wrote it. ;-)
Edit: chap actually did a good enough job, but the idiot who's using the module ...