소스 검색

Merge pull request #9790 from e-minguez/ak_support_openstack

Add support for ak/orgid in OpenStack provision playbook
OpenShift Merge Robot 6 년 전
부모
커밋
f8604328d7
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      playbooks/openstack/openshift-cluster/provision.yml

+ 1 - 2
playbooks/openstack/openshift-cluster/provision.yml

@@ -54,8 +54,7 @@
       name: rhel_subscribe
     when:
     - 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)
 
 - name: Show information about the deployed cluster
   import_playbook: cluster-info.yml