浏览代码

Merge pull request #9815 from e-minguez/ak_orgid_support

Add support for ak/orgid for RHEL
OpenShift Merge Robot 6 年之前
父节点
当前提交
6466ec78a7
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      playbooks/byo/rhel_subscribe.yml

+ 1 - 2
playbooks/byo/rhel_subscribe.yml

@@ -8,7 +8,6 @@
     when:
     - openshift_deployment_type == 'openshift-enterprise'
     - ansible_distribution == "RedHat"
-    - rhsub_user is defined
-    - rhsub_pass is defined
+    - (rhsub_user is defined and rhsub_pass is defined) or (rhsub_ak is defined and rhsub_orgid is defined)
   - role: openshift_repos
   - role: os_update_latest