sdn-pros / level5-ansible-cvp

Ansible with CV lab of the Level 5 Lab Guide.
6 stars 16 forks source link

Issue while running lab-reset #6

Open BarikiVarshitha opened 5 months ago

BarikiVarshitha commented 5 months ago

getting an error while running the following command ansible-playbook playbooks/lab-reset.yml

level5-ansible-cvp git:(main) ansible-playbook playbooks/lab-reset.yml

PLAY [Assign configlets to devices (via group_vars/CVP.yml)] **

TASK [Build default container topology] *** fatal: [CloudVision]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'CONTAINERS_DEFAULT' is undefined. 'CONTAINERS_DEFAULT' is undefined\n\nThe error appears to be in '/home/coder/project/labfiles/level5-ansible-cvp/playbooks/lab-reset.yml': line 14, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: \"Build default container topology\"\n ^ here\n"}

PLAY RECAP **** CloudVision : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

➜ level5-ansible-cvp git:(main) ✗

What is the fix to this?