首页 > 解决方案 > 在 aws ec2 Linux 内核 4.14 实例上的 ansible 上安装 nginx 时出错

问题描述

我收到的错误:

致命:[http3]:失败!=> {"changed": false, "msg": "与 yum 对话失败:失败:来自 epel 的 repodata/repomd.xml:[Errno 256] 没有更多镜像可尝试。\nhttps://download.fedoraproject.org/ pub/epel/epel-release-latest-7.noarch.rpm/repodata/repomd.xml:[Errno 14] HTTPS 错误 404 - 未找到“}

注意: http3 是一个网络服务器。操作系统:centos rhel fedora。

在我的 yum 配置文件中:

[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
distroverpkg=system-release
timeout=5
retries=7

标签: nginxamazon-ec2ansiblerhel

解决方案


推荐阅读