Преглед на файлове

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.
Michael Gugino преди 7 години
родител
ревизия
823d4c4e18
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      roles/openshift_node/tasks/registry_auth.yml
  2. 1 1
      roles/openshift_node_upgrade/tasks/registry_auth.yml

+ 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