Install docker from distro repo and then installs docker-compose from pip
A docker capable environment
Defaults to the user connecting to target.
var | default value | required | description |
---|---|---|---|
DOCKER_USERS |
["{{ansible_env.USER}}"] |
yes | List of all users that should be enable to run docker without sudo |
Depends on another role called pip
.
Example of how to use this role:
- hosts: localhost
roles:
- role: mashimom.docker
DOCKERUSERS: [kirk,picard]
MIT
@mashimom