Quellcode durchsuchen

Add support for ak/orgid

Eduardo Minguez Perez vor 6 Jahren
Ursprung
Commit
1f53d335a3
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  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