Eduardo Minguez Perez 6 лет назад
Родитель
Сommit
1f53d335a3
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