Skip to content

Commit

Permalink
Merge pull request #6492 from mazzystr/fix_rhel_repos
Browse files Browse the repository at this point in the history
Fix rhel_repos disable command
  • Loading branch information
michaelgugino authored Dec 18, 2017
2 parents 84fb45d + 2304ce2 commit b713000
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions roles/openshift_repos/tasks/rhel_repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b713000

Please sign in to comment.