This is ansible playbook for docker
Clone this repo First
$ git clone https://github.com/guaychou/Ansible-docker-installation.git
Change to directory...
$ cd Ansible-docker-installation
Change to specific Linux Distribution, for now only 2 available : Ubuntu, and manjaro
$ sudo ansible-playbook master.yml --extra-vars "my_distro=<yourDistro> username=`echo $USER`"
Example
$ sudo ansible-playbook master.yml --extra-vars "my_distro=ubuntu username=`echo $USER`"