From 5bfbeadca3dfb5e5f6de6b2a74cdcc7c8c01912c Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 5 Dec 2016 12:50:14 -0500 Subject: [PATCH] yum_repository: use https:// for EPEL examples (#3464) This whole module is really lacking in security guidelines, but downloading RPMs via plain `http://` without gpg is quite bad. Let's use `https://` for the EPEL examples for a start. --- lib/ansible/modules/extras/packaging/os/yum_repository.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/packaging/os/yum_repository.py b/lib/ansible/modules/extras/packaging/os/yum_repository.py index e1355baa329..f54d1bd7663 100644 --- a/lib/ansible/modules/extras/packaging/os/yum_repository.py +++ b/lib/ansible/modules/extras/packaging/os/yum_repository.py @@ -401,14 +401,14 @@ EXAMPLES = ''' yum_repository: name: epel description: EPEL YUM repo - baseurl: http://download.fedoraproject.org/pub/epel/$releasever/$basearch/ + baseurl: https://download.fedoraproject.org/pub/epel/$releasever/$basearch/ - name: Add multiple repositories into the same file (1/2) yum_repository: name: epel description: EPEL YUM repo file: external_repos - baseurl: http://download.fedoraproject.org/pub/epel/$releasever/$basearch/ + baseurl: https://download.fedoraproject.org/pub/epel/$releasever/$basearch/ gpgcheck: no - name: Add multiple repositories into the same file (2/2)