mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
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.
This commit is contained in:
@@ -401,14 +401,14 @@ EXAMPLES = '''
|
|||||||
yum_repository:
|
yum_repository:
|
||||||
name: epel
|
name: epel
|
||||||
description: EPEL YUM repo
|
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)
|
- name: Add multiple repositories into the same file (1/2)
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: epel
|
name: epel
|
||||||
description: EPEL YUM repo
|
description: EPEL YUM repo
|
||||||
file: external_repos
|
file: external_repos
|
||||||
baseurl: http://download.fedoraproject.org/pub/epel/$releasever/$basearch/
|
baseurl: https://download.fedoraproject.org/pub/epel/$releasever/$basearch/
|
||||||
gpgcheck: no
|
gpgcheck: no
|
||||||
|
|
||||||
- name: Add multiple repositories into the same file (2/2)
|
- name: Add multiple repositories into the same file (2/2)
|
||||||
|
|||||||
Reference in New Issue
Block a user