The config-docker role is associated with configuring a docker set up.
Effectively, the docker.yml
task will install packages for docker and add users to the docker user group.
- A username for configuring docker access
Defaults file has example of variables that can be used.
Variable | Description | Required | Defaults |
---|---|---|---|
docker_install | Used to determine if Docker should be installed. | yes | False |
docker_username | Used to configure which user should have access to use docker and be part of the 'docker' group. | yes | False |
There are no strict dependencies for this role beyond ansible and docker.
- hosts: bastion
roles:
- role: config-docker
docker_install: True
docker_username: bob
Apache License 2.0
Red Hat Community of Practice & staff of the Red Hat Open Innovation Labs.