Browse Source

Merge pull request #9890 from e-minguez/openstack_repos_config

Configure repositories if RHEL
OpenShift Merge Robot 6 năm trước cách đây
mục cha
commit
2f39a299e7
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      playbooks/openstack/openshift-cluster/provision.yml

+ 7 - 0
playbooks/openstack/openshift-cluster/provision.yml

@@ -56,5 +56,12 @@
     - ansible_distribution == "RedHat"
     - (rhsub_user is defined and rhsub_pass is defined) or (rhsub_ak is defined and rhsub_orgid is defined)
 
+  - name: Configuring proper repositories
+    import_role:
+      name: openshift_repos
+    when:
+    - ansible_distribution == "RedHat"
+    - (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