summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gugino <gugino.michael@yahoo.com>2017-12-18 09:23:54 -0500
committerGitHub <noreply@github.com>2017-12-18 09:23:54 -0500
commitb713000887c5ef1d84d376038aacd0c6966d1692 (patch)
treef3a18ef89d751517a29f0674cd7e00d855b1c8e4
parent84fb45dae49c0ff0ebc71222a74ff4729ead06c0 (diff)
parent2304ce22ba9756c13f2491183b9fd0e7517cd381 (diff)
downloadopenshift-b713000887c5ef1d84d376038aacd0c6966d1692.tar.gz
openshift-b713000887c5ef1d84d376038aacd0c6966d1692.tar.bz2
openshift-b713000887c5ef1d84d376038aacd0c6966d1692.tar.xz
openshift-b713000887c5ef1d84d376038aacd0c6966d1692.zip
Merge pull request #6492 from mazzystr/fix_rhel_repos
Fix rhel_repos disable command
-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