workshops icon indicating copy to clipboard operation
workshops copied to clipboard

Step 5: after running the “check_httpd.yml” playbook you are told to expect a 403 error

Open amayagil opened this issue 2 years ago • 6 comments

Area

Ansible Red Hat Enterprise Linux Workshop

Proposed Changes

after running the “check_httpd.yml” playbook you are told to expect a 403 error, but instead, a 200 is shown, which is due to different causes than the ones explained in the guide.

No variable is being referenced.

amayagil avatar Oct 08 '21 10:10 amayagil

another one @rlopez133

low priority :)

IPvSean avatar Oct 20 '21 16:10 IPvSean

Possible to get more info here on the error?

rlopez133 avatar Oct 20 '21 16:10 rlopez133

https://aap2.demoredhat.com/exercises/ansible_rhel/1.3-playbook/#step-4---extend-your-playbook-start--enable-apache you should get a 403 but you get this TASK [Check that you can connect (GET) to a page and it returns a status 200] *** fatal: [ansible-1]: FAILED! => {"changed": false, "elapsed": 0, "msg": "Status code was -1 and not [200]: Request failed: ", "redirected": false, "status": -1, "url": "http://"} IP var is not referenced, should be: tasks: - name: Check that you can connect (GET) to a page and it returns a status 200 uri: url: "http://{{ IP }}"

amayagil avatar Oct 21 '21 10:10 amayagil

same as https://github.com/ansible/workshops/issues/1396

amayagil avatar Oct 21 '21 10:10 amayagil

@rlopez133 did you close this out?

IPvSean avatar Aug 29 '22 19:08 IPvSean

I thought this was fixed by #1399 is it not?

rlopez133 avatar Sep 14 '22 20:09 rlopez133

closing this out since lack of answer to @rlopez133

IPvSean avatar Oct 06 '23 16:10 IPvSean