Guillaume Coré
2018-03-13 36ab5e56429d6fc112724b45e48001289e6d5ec6
use HTTP instead of HTTPS for epel repos

Sometime deployment fails with this error:

failed: [ec2-13-229-161-164.ap-southeast-1.compute.amazonaws.com] (item=[u'python', u'unzip', u'bash-completion', u'tmux', u'bind-utils', u'wget', u'git', u'vim-enhanced', u'at', u'ansible']) => {"changed": fals
e, "item": ["python", "unzip", "bash-completion", "tmux", "bind-utils", "wget", "git", "vim-enhanced", "at", "ansible"], "msg": "Failure talking to yum: File /var/cache/yum/x86_64/7Server/epel/metalink.xml does
not exist"}

When you google that error, you find a lot of issues related to EPEL and ssl (ca-certificates).
5 files modified
10 ■■■■ changed files
ansible/configs/ans-network-lab/files/repos_template.j2 2 ●●● patch | view | raw | blame | history
ansible/configs/ans-tower-lab/files/repos_template.j2 2 ●●● patch | view | raw | blame | history
ansible/configs/auth-playground-lab/files/repos_template.j2 2 ●●● patch | view | raw | blame | history
ansible/configs/generic-example/files/repos_template.j2 2 ●●● patch | view | raw | blame | history
ansible/configs/three-tier-app/files/repos_template.j2 2 ●●● patch | view | raw | blame | history
ansible/configs/ans-network-lab/files/repos_template.j2
@@ -25,7 +25,7 @@
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=0
ansible/configs/ans-tower-lab/files/repos_template.j2
@@ -25,7 +25,7 @@
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=0
ansible/configs/auth-playground-lab/files/repos_template.j2
@@ -25,7 +25,7 @@
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=0
ansible/configs/generic-example/files/repos_template.j2
@@ -25,7 +25,7 @@
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=0
ansible/configs/three-tier-app/files/repos_template.j2
@@ -25,7 +25,7 @@
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=0