Merge "Suppress curl warning"

This commit is contained in:
Jenkins 2017-10-13 09:27:58 +00:00 committed by Gerrit Code Review
commit 7a1ef20c9e
1 changed files with 3 additions and 1 deletions

View File

@ -92,10 +92,12 @@
tags:
- repo_server-install
- name: create yum merged mirror list
- name: Create yum merged mirror list
shell: |
curl https://www.centos.org/download/full-mirrorlist.csv | sed 's/^.*"http:/http:/' | sed 's/".*$//' | grep ^http >/etc/apt-cacher-ng/centos_mirrors
echo "http://mirror.centos.org/centos/" >>/etc/apt-cacher-ng/centos_mirrors
args:
warn: no
when:
- ansible_pkg_mgr == 'yum'
tags: