Install the latest version of Docker CE and Docker Compose on Ubuntu, following these instructions.
Tested on Ubuntu 16.04.
The following variables can be used to customize the role:
docker_users: []
A list of users that will be added to the docker
group.
docker_repository: stable
Select the repository to install from (choose from stable, edge, and test).
- hosts: all
become: yes
roles:
- role: docker-ce
docker_users:
- foo
- bar
MIT