Explorar o código

Add support for ak/orgid for RHEL

Eduardo Minguez Perez %!s(int64=6) %!d(string=hai) anos
pai
achega
43250129a9
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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