To start off with, we need the basic files; to get these, run the following command where you normally store your code:
$ ansible-galaxy init ansible-role-docker
This will give us the directory and file structure we need for our new role; we can now make a start on creating the role.