From e292ecde9440611a026ab735fe8bf056439cc9dc Mon Sep 17 00:00:00 2001
From: Michael Gugino <mgugino@redhat.com>
Date: Thu, 7 Dec 2017 13:18:31 -0500
Subject: Fix incorrect register name master registry auth

Corrects register variable name to registry auth support.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1511374
---
 roles/openshift_master/tasks/registry_auth.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'roles/openshift_master/tasks')

diff --git a/roles/openshift_master/tasks/registry_auth.yml b/roles/openshift_master/tasks/registry_auth.yml
index ca04d2243..8b342a5b4 100644
--- a/roles/openshift_master/tasks/registry_auth.yml
+++ b/roles/openshift_master/tasks/registry_auth.yml
@@ -32,7 +32,7 @@
   when:
   - openshift_docker_alternative_creds | default(False) | bool
   - oreg_auth_user is defined
-  - (not docker_cli_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace) | bool
+  - (not master_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace) | bool
   register: master_oreg_auth_credentials_create_alt
   notify:
   - restart master api
-- 
cgit v1.2.3