From 5624c12da2c6ad8ebe66df7d42489358032bd5cd Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Tue, 12 Jul 2016 18:34:42 +0000 Subject: [PATCH] since ssl is handled at the proxy, no need to differentiate between prod/stg registry Signed-off-by: Adam Miller --- playbooks/groups/docker-registry.yml | 29 +--------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/playbooks/groups/docker-registry.yml b/playbooks/groups/docker-registry.yml index c90bbab330..d8684cec1e 100644 --- a/playbooks/groups/docker-registry.yml +++ b/playbooks/groups/docker-registry.yml @@ -43,7 +43,6 @@ # on localhost and all external connections will be through httpd which # will be SSL enalbed. roles: - # STAGING - { role: docker-distribution, conf_path: "/etc/docker-distribution/registry/config.yml", @@ -65,33 +64,7 @@ }, http: { addr: ":5000" - }, - when: env == "staging" - } - # PROD - - { - role: docker-distribution, - conf_path: "/etc/docker-distribution/registry/config.yml", - tls: { - enabled: False, - }, - log: { - fields: { - service: "registry" - } - }, - storage: { - cache: { - layerinfo: "inmemory" - }, - filesystem: { - rootdirectory: "/srv/" - } - }, - http: { - addr: ":5000" - }, - when: env == "production" + } } # Setup compose-x86-01 push docker images to registry