Hello team
I m getting this error message:
My vars are defined:
This is the task:
@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 .
Same lab, new error message:
The secrets.yml exists
I cant see any typos. I checked for trailing spaces. the vault file does contain web_pass: redhat
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.
There are no messages on the website, and I can login without issues.
The playbook is still failing however
@87951469 from where are you able to access the website ? Please share the screenshot of the browser ?
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.