This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the dumb-mistakes-and-gotchas category.
Last Updated: 2024-11-21
My Ansible installation of git failed with this error:
"msg": "Cloning into '/home/ubuntu/ml-backend # aligned with github repo name'...\nfatal: repository 'https://github.com/jackkinsella/ml-backend # aligned with github repo name.git/' not found",
Eventually I figured out that the error was due to the variable I used to declare the git repo:
github_user=jackkinsella # Aligned with GitHub repo name
When I rewrote to the following, it worked:
# Aligned with GitHub repo name
github_user=jackkinsella
Lesson: