Add a docker role for making sure Docker is installed from the Docker repositories. Take the role from the ccchh-ansible repo, provide attribution in the README and add the relevant license in a new licenses directory. Modify the role by removing the distribution check and adjusting the task names to be in line with other task names in this repo.
786 B
786 B
Role docker
Makes sure Docker Engine and other related packages are installed from the Docker repos on the specified hosts.
For details see: tasks/main/02_docker_install.yaml.
Required Arguments
None.
Updates
This role doesn't handle updates. However it uses the system package manager for installing Docker Engine and the other related packages, so when you're making sure the system packages are up-to-date, you're handling updates for the packages installed by this role as well.
hosts
The hosts for this role need to be the machines for which you want to make sure Docker Engine and other related packages are installed from the Docker repos.