无法安装Juniper.junos角色Ansible

时间:2015-10-13 16:56:40

标签: ansible ansible-playbook

我正在尝试使用Ansible安装Juniper.junos角色,但我收到了错误。

以下是我正在尝试的内容和错误消息。

root@ubuntu:~# ansible-galaxy install Juniper.junos
- downloading role 'junos', owned by Juniper
 [WARNING]: - Juniper.junos was NOT installed successfully: ERROR! - sorry, Juniper.junos was not found on https://galaxy.ansible.com.

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

2 个答案:

答案 0 :(得分:0)

正在与sudo合作      $ sudo ansible-galaxy Juniper.junos

答案 1 :(得分:-1)

请使用以下命令进行安装,它会正常工作。

sudo ansible-galaxy install git + https://github.com/Juniper/ansible-junos-stdlib.git,,Juniper.junos

[root@host /Users/root] 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