From af89865f006c58e27d14dd47552922fdcefb162d Mon Sep 17 00:00:00 2001 From: Maciej Szulik Date: Thu, 5 Jan 2017 21:49:59 +0100 Subject: Re-add when condition which was removed mistakenly in #3036 --- roles/openshift_hosted/tasks/registry/secure.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'roles') 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: > -- cgit v1.2.3