The actual difference in the playbooks that is helping you is the URL that you are pulling from.
When you pull from https://github.com… you pull the website you would see in your browser.
When you pull from https://raw.github.com you pull just the target file you are interested in.