playbook_docker/README.md

497 B

docker playbook

Introduction

This is the top level playbook for the 'docker' role, and will install docker on the target host.

The username of the user that will be running the docker command is supplied so that that user can be added to the appropriate groups.

This playbook can be run using the following command line;

ansible-playbook -i <inventory file | IP,> -e "username=<username>" docker.yml

ie,
ansible-playbook -i 192.168.0.101, -e "username=someuser" docker.yml