Install docker with docker-compose for a number of linux variants.
There are two variables that should be changed if you are using RHEL or SLES. They are simply the repo url and version for the enterprise edition of docker. If you are using any of the other distros, carry along, no need to change.
# default/main.yml
ee:
url: "string for the url of your repo subscription"
version: 7 # Optional for RHEL and not required for SLES at all.
All you need to do is make sure you are running the role as a privileged user and append to playbook like so::
- hosts: servers
roles:
- abaez.docker