diff options
author | Maciej Szulik <maszulik@redhat.com> | 2017-01-05 21:49:59 +0100 |
---|---|---|
committer | Maciej Szulik <maszulik@redhat.com> | 2017-01-05 21:49:59 +0100 |
commit | af89865f006c58e27d14dd47552922fdcefb162d (patch) | |
tree | ed590a04a3b3d5471ca4d2af5a236c83f9f5e88d /roles/openshift_hosted | |
parent | a706f310f78eeab976395c6dc7cf3427b345b32f (diff) | |
download | openshift-af89865f006c58e27d14dd47552922fdcefb162d.tar.gz openshift-af89865f006c58e27d14dd47552922fdcefb162d.tar.bz2 openshift-af89865f006c58e27d14dd47552922fdcefb162d.tar.xz openshift-af89865f006c58e27d14dd47552922fdcefb162d.zip |
Re-add when condition which was removed mistakenly in #3036
Diffstat (limited to 'roles/openshift_hosted')
-rw-r--r-- | roles/openshift_hosted/tasks/registry/secure.yml | 1 |
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: > |