首页 > 解决方案 > 如何修复错误无法使用 maven_artifact 模块 ansible 从 nexus 存储库下载工件

问题描述

当我尝试使用我的剧本 ansible 中的 ansible 模块 maven_artifact 从 nexus 管理器存储库 3 下载工件(ear)时遇到问题。 TASK【下载神器ewallet-ear form Nexus】**************************************** ****************************************************** **************** 致命:[ip.ip.ip.ip]:失败!=> {"changed": false, "msg": "未能下载工件 com.aebs.ewallet:ewallet-ear:ear:1.0[52] 因为请求失败:<urlopen 错误 [Errno -2] Nom ou service inconnu>对于 URL http://nexus.beyn.dz:8081/repository/ewallet-wimpay-release/com/aebs/ewallet/ewallet-ear/1.0[52]/ewallet-ear-1.0[52].ear" }

这是我的剧本 ansible :

标签: ansibledevopsnexus3

解决方案


推荐阅读