In collection version infra.aap_configuration 3.8.3 there is a bug in role controller_license:
TASK [infra.aap_configuration.controller_license : Validating arguments against arg spec 'main' - An Ansible Role to deploy a license on Ansible Controller.] ***
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'NoneType' object has no attribute 'get'
fatal: [localhost]: FAILED! => {"msg": "Unexpected failure during module execution: 'NoneType' object has no attribute 'get'", "stdout": ""}
Last properly working version of collection is 3.8.0