This is useful for users who need to go through proxies until https://github.com/ansible/ansible/issues/42534 is resolved. apt_repository can be replaced with manual commands to download the key, add it, and then add the apt sources entry.