소스 검색

Merge pull request #6492 from mazzystr/fix_rhel_repos

Fix rhel_repos disable command
Michael Gugino 7 년 전
부모
커밋
b713000887
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      roles/openshift_repos/tasks/rhel_repos.yml

+ 2 - 3
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