I have the same problem when I run a small playbook to install mysql on ubuntu 18.
This is the error I got:
TASK [common : Add custom edX PPA] *********************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: apt.cache.FetchFailedException: E:Failed to fetch http://ppa.edx.org/dists/bionic/InRelease 403 Forbidden [IP: 185.134.23.172 80], E:The repository 'http://ppa.edx.org bionic InRelease' is not signed.
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_GNfvF3/ansible_module_apt_repository.py\", line 565, in <module>\n main()\n File \"/tmp/ansible_GNfvF3/ansible_module_apt_repository.py\", line 553, in main\n cache.update()\n File \"/usr/lib/python2.7/dist-packages/apt/cache.py\", line 586, in update\n raise FetchFailedException(e)\napt.cache.FetchFailedException: E:Failed to fetch http://ppa.edx.org/dists/bionic/InRelease 403 Forbidden [IP: 185.134.23.172 80], E:The repository 'http://ppa.edx.org bionic InRelease' is not signed.\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 0}
I think that it should be possible to run an ansible playbook on ubuntu 18 ( this commit ) but actually it is not.
Excuse me I’m not experienced in running apt repositories and I’m not sure if it’s my fault or it’s not ready yet.
Could you kindly tell me about this, please?