summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorChris Callegari <mazzystr@gmail.com>2017-12-15 11:51:29 -0500
committerChris Callegari <mazzystr@gmail.com>2017-12-15 11:51:29 -0500
commit2304ce22ba9756c13f2491183b9fd0e7517cd381 (patch)
tree344af3ff68fd3603e0fe14254210fac323c2f9f1 /roles
parent5adc6b42c7569b72e23795c653b3d09965ee81ba (diff)
downloadopenshift-2304ce22ba9756c13f2491183b9fd0e7517cd381.tar.gz
openshift-2304ce22ba9756c13f2491183b9fd0e7517cd381.tar.bz2
openshift-2304ce22ba9756c13f2491183b9fd0e7517cd381.tar.xz
openshift-2304ce22ba9756c13f2491183b9fd0e7517cd381.zip
Fix rhel_repos disable command
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_repos/tasks/rhel_repos.yml5
1 files changed, 2 insertions, 3 deletions
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