From bac7157eda433c495cce1bdd031aa2d0ee41b063 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 4 Sep 2018 11:29:18 -0500 Subject: [PATCH] Fixes #86, Fixes #35, Fixes #68: Document how to pin version on all OSes. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 04c027f..8b0755f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,9 @@ Available variables are listed below, along with default values (see `defaults/m docker_package: "docker-{{ docker_edition }}" docker_package_state: present -The `docker_edition` should be either `ce` (Community Edition) or `ee` (Enterprise Edition). You can also specify a specific version of Docker to install using a format like `docker-{{ docker_edition }}-`. And you can control whether the package is installed, uninstalled, or at the latest version by setting `docker_package_state` to `present`, `absent`, or `latest`, respectively. Note that the Docker daemon will be automatically restarted if the Docker package is updated. This is a side effect of flushing all handlers (running any of the handlers that have been notified by this and any other role up to this point in the play). +The `docker_edition` should be either `ce` (Community Edition) or `ee` (Enterprise Edition). You can also specify a specific version of Docker to install using the distribution-specific format: Red Hat/CentOS: `docker-{{ docker_edition }}-`; Debian/Ubuntu: `docker-{{ docker_edition }}=`. + +You can control whether the package is installed, uninstalled, or at the latest version by setting `docker_package_state` to `present`, `absent`, or `latest`, respectively. Note that the Docker daemon will be automatically restarted if the Docker package is updated. This is a side effect of flushing all handlers (running any of the handlers that have been notified by this and any other role up to this point in the play). docker_service_state: started docker_service_enabled: yes