summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-08-17 10:49:05 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2015-08-17 10:49:05 -0400
commite4ea18b8b628d15920dffa6b147b19a29b9fc223 (patch)
tree06b837ceeb70d73547cccc2f8c2c22a041bc245d
parent0fe45e2b9978b9f39693391d792fdf560f978021 (diff)
parentb85398688f1f34721826da61e56d84a05269cfb5 (diff)
downloadopenshift-e4ea18b8b628d15920dffa6b147b19a29b9fc223.tar.gz
openshift-e4ea18b8b628d15920dffa6b147b19a29b9fc223.tar.bz2
openshift-e4ea18b8b628d15920dffa6b147b19a29b9fc223.tar.xz
openshift-e4ea18b8b628d15920dffa6b147b19a29b9fc223.zip
Merge pull request #410 from codificat/rhel-repos
Fine tune RHEL repos
-rw-r--r--roles/rhel_subscribe/tasks/enterprise.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/rhel_subscribe/tasks/enterprise.yml b/roles/rhel_subscribe/tasks/enterprise.yml
index fc4d44745..e9e6e4bd4 100644
--- a/roles/rhel_subscribe/tasks/enterprise.yml
+++ b/roles/rhel_subscribe/tasks/enterprise.yml
@@ -1,5 +1,9 @@
---
+- name: Disable all repositories
+ command: subscription-manager repos --disable="*"
+
- name: Enable RHEL repositories
command: subscription-manager repos \
--enable="rhel-7-server-rpms" \
+ --enable="rhel-7-server-extras-rpms" \
--enable="rhel-7-server-ose-3.0-rpms"