Role to install Docker on various distributions, particularly Ubuntu, Debian, Fedora and CentOS. Debian distributions use the docker.io repository, while RedHat distributions use standard repositories.
This playbook is implemented using a common set of tasks customized by os-specific variables. This means that if there are multiple systems with different operating systems, docker will be installed in parallel rather than sequentially (as would be the case if using include: ... when: ...).
- hosts: all become: true roles: - docker