Some repositories couldn't be updated, please check application logs for details.BadCredentialsException: 401 {"message": "Bad credentials", "documentation_url": "https://docs.github.com/rest", "status": "401"}
1 2 3 4
This weird and extremely convoluted way to wait until a file exists (disregarding reboots) was borrowed from RedHat themselves: https://www.ansible.com/blog/tolerable-ansible