|
@@ -11,8 +11,7 @@
|
|
|
when:
|
|
|
- ansible_distribution == 'RedHat'
|
|
|
- openshift_deployment_type == 'openshift-enterprise'
|
|
|
- - 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: initialize openshift repos
|
|
|
import_role:
|
|
|
name: openshift_repos
|