/ansible-role-docker

Install docker with docker-compose for RedHat, Debian, and Suse variants.

BSD 2-Clause "Simplified" LicenseBSD-2-Clause

Docker

license

Install docker with docker-compose for a number of linux variants.

Variables

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.

Usage

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

Author Information

Alejandro Baez