cancel
Showing results for 
Search instead for 
Did you mean: 
87951469
Flight Engineer
Flight Engineer
  • 188 Views

chapter 3 managing variables and facts - secrets_dest is undefined

Hello team 

I m getting this error message: 

87951469_0-1760111418123.png

My vars are defined: 

87951469_1-1760111455008.png

 

This is the task: 

 

87951469_0-1760111578760.png

 

 

5 Replies
Chetan_Tiwary_
Community Manager
Community Manager
  • 183 Views

@87951469 There is a typo in the yaml - can you identify it while matching the error message - that will be a great learning to troubleshoot . 

87951469
Flight Engineer
Flight Engineer
  • 177 Views

Same lab, new error message: 

87951469_0-1760112293583.png

 

The secrets.yml exists

87951469_1-1760112324429.png87951469_2-1760112368261.png

I cant see any typos. I checked for trailing spaces. the vault file does contain web_pass: redhat

0 Kudos
Travis
Moderator
Moderator
  • 168 Views

You likely have a typo again, but you can't see everything. I would suggest attempting to login to the site manually and testing with the username and password. This is all about troubleshooting at this point. You are getting a 403 forbidden for HTTP access to a web location, so it is possible the content doesn't have the right permissions, but most likely, since it is a "protected" site requiring a user and password, I would check there.

Keep in mind, the playbook you are showing has a single task to look at the content and then a debug task to display the captured web content. You are failing on the accessing of the site, so it isn't registering the variable and making to the second task.

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
87951469
Flight Engineer
Flight Engineer
  • 41 Views

There are no messages on the website, and I can login without issues. 

The playbook is still failing however 

Chetan_Tiwary_
Community Manager
Community Manager
  • 11 Views

@87951469 from where are you able to access the website ? Please share the screenshot of the browser ?

 

Chetan_Tiwary__0-1760386992869.png

 

Chetan_Tiwary__1-1760387188331.png

 

Chetan_Tiwary__2-1760387202305.png

 

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