summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-01-05 15:52:02 -0500
committerGitHub <noreply@github.com>2017-01-05 15:52:02 -0500
commitf30d600bd1bda5e4f980bca373988aa72aa7a340 (patch)
treeed590a04a3b3d5471ca4d2af5a236c83f9f5e88d /roles
parenta706f310f78eeab976395c6dc7cf3427b345b32f (diff)
parentaf89865f006c58e27d14dd47552922fdcefb162d (diff)
downloadopenshift-f30d600bd1bda5e4f980bca373988aa72aa7a340.tar.gz
openshift-f30d600bd1bda5e4f980bca373988aa72aa7a340.tar.bz2
openshift-f30d600bd1bda5e4f980bca373988aa72aa7a340.tar.xz
openshift-f30d600bd1bda5e4f980bca373988aa72aa7a340.zip
Merge pull request #3052 from soltysh/docker_registry_volume
Re-add when condition which was removed mistakenly in #3036
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_hosted/tasks/registry/secure.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_hosted/tasks/registry/secure.yml b/roles/openshift_hosted/tasks/registry/secure.yml
index 31cc63281..d87a3847c 100644
--- a/roles/openshift_hosted/tasks/registry/secure.yml
+++ b/roles/openshift_hosted/tasks/registry/secure.yml
@@ -40,6 +40,7 @@
--hostnames="{{ docker_registry_service_ip.stdout }},docker-registry.default.svc.cluster.local,{{ docker_registry_route_hostname }}"
--cert={{ openshift_master_config_dir }}/registry.crt
--key={{ openshift_master_config_dir }}/registry.key
+ when: False in (docker_registry_certificates_stat_result.results | default([]) | oo_collect(attribute='stat.exists') | list)
- name: Create the secret for the registry certificates
command: >