Juniper / vqfx10k-vagrant

Vagrant projects for vQFX10k
Apache License 2.0
136 stars 62 forks source link

The error appears to be in pb.conf.all.commit.yaml #43

Closed arazmj closed 3 years ago

arazmj commented 3 years ago

Getting this issue with vagrant up on light-2qfx.

Ansible version

ansible --version
ansible 2.10.4
  config file = /Users/arazmj/images/vqfx10k-vagrant/light-2qfx/ansible.cfg
  configured module search path = ['/Users/arazmj/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/arazmj/Library/Python/3.9/lib/python/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.9.0 (default, Dec  6 2020, 18:02:34) [Clang 12.0.0 (clang-1200.0.32.27)]

OS

Darwin 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64 x86_64

Vagrant output

[DEPRECATION WARNING]: DEFAULT_HASH_BEHAVIOUR option, this feature is fragile 
and not portable, leading to continual confusion and misuse, use the 
``combine`` filter explicitly instead. This feature will be removed from 
ansible-base in version 2.13. Deprecation warnings can be disabled by setting 
deprecation_warnings=False in ansible.cfg.
ERROR! the role 'Juniper.junos' was not found in /Users/arazmj/images/vqfx10k-vagrant/light-2qfx/roles:/Users/arazmj/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/Users/arazmj/images/vqfx10k-vagrant/light-2qfx

The error appears to be in '/Users/arazmj/images/vqfx10k-vagrant/light-2qfx/pb.conf.all.commit.yaml': line 7, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  roles:
    - Juniper.junos
      ^ here
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

Using VirtualBox as provider

VBoxManage -v
6.1.16r140961
arazmj commented 3 years ago

Needed to install Juniper.junos

sudo ansible-galaxy install Juniper.junos