From 2304ce22ba9756c13f2491183b9fd0e7517cd381 Mon Sep 17 00:00:00 2001
From: Chris Callegari <mazzystr@gmail.com>
Date: Fri, 15 Dec 2017 11:51:29 -0500
Subject: Fix rhel_repos disable command

---
 roles/openshift_repos/tasks/rhel_repos.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'roles')

diff --git a/roles/openshift_repos/tasks/rhel_repos.yml b/roles/openshift_repos/tasks/rhel_repos.yml
index c384cbe9a..8d16629cc 100644
--- a/roles/openshift_repos/tasks/rhel_repos.yml
+++ b/roles/openshift_repos/tasks/rhel_repos.yml
@@ -6,11 +6,10 @@
   failed_when: repo_rhui.rc == 11
 
 - name: Disable RHEL rhui repositories
-  command: bash -c "yum-config-manager \
+  command: yum-config-manager \
     --disable 'rhui-REGION-client-config-server-7' \
     --disable 'rhui-REGION-rhel-server-rh-common' \
-    --disable 'rhui-REGION-rhel-server-releases' \
-    --disable 'rhui-REGION-client-config-server-7'"
+    --disable 'rhui-REGION-rhel-server-releases'
   when: repo_rhui.changed
 
 - name: Ensure RHEL repositories are enabled
-- 
cgit v1.2.3