首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在mac中安装Juniper.junos ansible?

问如何在mac中安装Juniper.junos ansible?
EN

Stack Overflow用户
提问于 2018-03-29 12:32:41
回答 1查看 813关注 0票数 1

我试图在我的Mac上安装最新版本的Juniper.junos:

代码语言:javascript
复制
sudo ansible-galaxy install Juniper.junos

   -downloading role 'junos', owned by Juniper

   -downloading role from https://github.com/Juniper/ansible-junos-stdlib/archive/2.0.2.tar.gz

[ERROR]: failed to download the file: Failed to validate the SSL certificate for github.com:443. Make sure your managedsystems have a valid CA certificate installed. You can use validate_certs=False if you do not need to confirm the servers identity but this is unsafe and not recommended. Paths checked for this platform: /etc/ssl/certs, /etc/ansible, /usr/local/etc/openssl. The exception msg was: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590).

[WARNING]: - Juniper.junos was NOT installed successfully.

ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.

星系-版本-星系2.5.0

我已经尝试了不同的ansible版本,但是错误仍然是一样的。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-03-29 12:35:31

我们有时会面临这个问题,通过ansible-galaxy安装模块的连接性问题,与Juniper ansible模块无关。

请使用下面的命令进行安装,它将运行良好。

代码语言:javascript
复制
sudo ansible-galaxy install git+https://github.com/Juniper/ansible junos-stdlib.git,,Juniper.junos

[abc@hostname /homes/abc] sudo ansible-galaxy install git+https://github.com/Juniper/ansible-junos-stdlib.git,,Juniper.junos

- extracting Juniper.junos to /homes/babud/.ansible/roles/Juniper.junos
- Juniper.junos was installed successfully
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49556192

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档