I am writing a custom module on AIX machines in this case the SUMA command.
I have the following error :
ansible-playbook test_suma_download.yml
…
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: datetime.date(7100, 2, 2) is not JSON serializable
fatal: [castor1]: FAILED! => {“failed”: true, “msg”: “Unexpected failure during module execution.”, “stdout”: “”}