소스 검색

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:
   when:
     - openshift.common.is_containerized | bool
     - openshift.common.is_containerized | bool
     - oreg_auth_user is defined
     - 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:
   when:
     - openshift.common.is_containerized | bool
     - openshift.common.is_containerized | bool
     - oreg_auth_user is defined
     - 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