summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-09-29 11:21:43 -0400
committerMichael Gugino <mgugino@redhat.com>2017-09-29 11:21:43 -0400
commit823d4c4e18d33cbb6dcffb122b8cc80b8766b7dd (patch)
tree93e541c43f722792b5c5612bbff092c22c33c508
parent23237328eaaae5305c2f0e7d46e594cb5bdebc89 (diff)
downloadopenshift-823d4c4e18d33cbb6dcffb122b8cc80b8766b7dd.tar.gz
openshift-823d4c4e18d33cbb6dcffb122b8cc80b8766b7dd.tar.bz2
openshift-823d4c4e18d33cbb6dcffb122b8cc80b8766b7dd.tar.xz
openshift-823d4c4e18d33cbb6dcffb122b8cc80b8766b7dd.zip
Fix registry auth variable
There is currently a bug in registry auth credential creation logic for openshift_node and openshift_node_upgrade This commit fixes the logic.
-rw-r--r--roles/openshift_node/tasks/registry_auth.yml2
-rw-r--r--roles/openshift_node_upgrade/tasks/registry_auth.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_node/tasks/registry_auth.yml b/roles/openshift_node/tasks/registry_auth.yml
index 3d2831742..de396fb4b 100644
--- a/roles/openshift_node/tasks/registry_auth.yml
+++ b/roles/openshift_node/tasks/registry_auth.yml
@@ -21,4 +21,4 @@
when:
- openshift.common.is_containerized | bool
- oreg_auth_user is defined
- - (node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace or oreg_auth_credentials_replace.changed) | bool
+ - (node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace or node_oreg_auth_credentials_create.changed) | bool
diff --git a/roles/openshift_node_upgrade/tasks/registry_auth.yml b/roles/openshift_node_upgrade/tasks/registry_auth.yml
index 3d2831742..de396fb4b 100644
--- a/roles/openshift_node_upgrade/tasks/registry_auth.yml
+++ b/roles/openshift_node_upgrade/tasks/registry_auth.yml
@@ -21,4 +21,4 @@
when:
- openshift.common.is_containerized | bool
- oreg_auth_user is defined
- - (node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace or oreg_auth_credentials_replace.changed) | bool
+ - (node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace or node_oreg_auth_credentials_create.changed) | bool