Quellcode durchsuchen

Merge pull request #5595 from mgugino-upstream-stage/reg-auth-variable-fix

Automatic merge from submit-queue.

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.
OpenShift Merge Robot vor 7 Jahren
Ursprung
Commit
bc5eeede65

+ 1 - 1
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

+ 1 - 1
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