cancel
Showing results for 
Search instead for 
Did you mean: 
MHenderson
Mission Specialist
Mission Specialist
  • 743 Views

RH294 ch10S04

Jump to solution

while grading the final test, I received an error about the verify-interface-ip.yml failure

when doing a syntax check on the file:

 

[warning]: provided hosts list is empty, only localhost is available. Note that 
the implicit localhost does not match 'all'
ERROR! couldn't resolve module/action 'msg'. This often indicates a misspelling, missing collection, or incorrect module path.
 
The error appears to be in '.home/student/.venv/labs/lib/python3.9/site-packages/rh294/ansible/review-cr3/verify-interface-ip.yml':
line 8 column 11 but may be elsewhere in the file depending on the exact syntax problem.
 
The offending line appears to be:
 
    - block:
    - name: Fail if the ip address is not present on the interface
  ^ here
 
 
 
Is there a problem with the verify-interface-ip.yml file? 
Labels (1)
1 Solution

Accepted Solutions
Chetan_Tiwary_
Community Manager
Community Manager
  • 629 Views

Hello @MHenderson !

Thanks for reaching out!
The lab and the grading script is working fine : 

 

Screenshot from 2024-04-25 02-58-47.pngIt is recommended to create a fresh lab from scratch before attempting to perform any comp review lab. 

View solution in original post

2 Replies
morbius
Flight Engineer
Flight Engineer
  • 714 Views

It's usually best to destroy the lab and try again fresh. Earlier attempts and excercises can leave remnants on the system.

Chetan_Tiwary_
Community Manager
Community Manager
  • 630 Views

Hello @MHenderson !

Thanks for reaching out!
The lab and the grading script is working fine : 

 

Screenshot from 2024-04-25 02-58-47.pngIt is recommended to create a fresh lab from scratch before attempting to perform any comp review lab. 

Join the discussion
You must log in to join this conversation.