This role install the latest Docker on a machine. Docker compose and Docker tool can also be installed.
This role is tested on:
- Fedora 27
- Debian 9 (stretch)
- CentOS 7
If you need another OS feel free to create an issue, or even better a merge request.
Open up the defaults/main.yml.
To install this role, run the following command:
ansible-galaxy install --roles-path . jnmoal.docker
Then, in your playbook:
- hosts: servers
roles:
- { role: jnmoal.docker }
Cf. LICENSE file
Jean-Nicolas Moal