tkilias / ansible-role-docker

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:BSD 2-Clause "Simplified" License