cancel
Showing results for 
Search instead for 
Did you mean: 
zak1
Mission Specialist
Mission Specialist
  • 115 Views

Ansible...RH294 Version 9 Chapter 6, Section 6.5 Lab grade fails at Apache..

Jump to solution

lab grade fails and i have no idea why ?

 

zak1_0-1732511814544.png

Please help - just have 7 days to complete the self-paced course

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
zak1
Mission Specialist
Mission Specialist
  • 61 Views

So I went thru the instructor's video and did what he said....used import_tasks instead of ansible,builtin.import_tasks in PLAYBOOK.YML and it succeeded.

 

zak1_0-1732517621737.png

zak1_1-1732517748248.png

SUCCESS !!!!!

 

View solution in original post

7 Replies
RH-Yamato
Mission Specialist
Mission Specialist
  • 107 Views

Thank you for your question.

From your description, we can conclude the following:

  1. Your playbook successfully connects to all four web servers at the IP level.
  2. The HTTP 403 error indicates that the HTTP service is running, and the firewall on port 80 is open. (If either the service wasn’t running or the port wasn’t open, you would likely encounter a “Page not found” or similar error instead.)

Based on these observations, it’s possible that the HTTP service on all web servers is unable to read or serve the intended web content. This may be related to a configuration issue in the web_tasks.yml playbook described in Chapter 6, Section 6.5 of the lab.

Specifically, check the section using ansible.builtin.copy. Ensure that all file paths, permissions, and ownerships are correctly defined to allow the web server to access and serve the files.

If this doesn’t resolve your issue or if you need further assistance, please feel free to reach out again.

Yamato Sakai
Learning & Development Senior Instructor
Red Hat Global Learning Service
Tags (2)
0 Kudos
zak1
Mission Specialist
Mission Specialist
  • 99 Views

Thanks, Yamato stll going crazy here..... here's the web_tasks.yml. Please help:

zak1_0-1732513851567.png

 

 

0 Kudos
RH-Yamato
Mission Specialist
Mission Specialist
  • 97 Views

Thank you for providing additional details.

At first glance, it appears there may be an issue with the module referenced in the sections highlighted in red. Additionally, the green-highlighted portion also seems to differ from what is expected.

Could you start by correcting these two areas and let us know if the issue persists?スクリーンショット 2024-11-25 14.55.53.png

Yamato Sakai
Learning & Development Senior Instructor
Red Hat Global Learning Service
0 Kudos
zak1
Mission Specialist
Mission Specialist
  • 88 Views

I made it same as in the picture u showed on the right BUT the issue remains:

 

zak1_0-1732515172582.png

 

0 Kudos
RH-Yamato
Mission Specialist
Mission Specialist
  • 77 Views

Hi @zak1 

Thank you very much reply us.

Could you share us the latest error message after you run the play?

Yamato Sakai
Learning & Development Senior Instructor
Red Hat Global Learning Service
0 Kudos
zak1
Mission Specialist
Mission Specialist
  • 62 Views

So I went thru the instructor's video and did what he said....used import_tasks instead of ansible,builtin.import_tasks in PLAYBOOK.YML and it succeeded.

 

zak1_0-1732517621737.png

zak1_1-1732517748248.png

SUCCESS !!!!!

 

RH-Yamato
Mission Specialist
Mission Specialist
  • 60 Views

Congratulations, @zak1 

Yamato Sakai
Learning & Development Senior Instructor
Red Hat Global Learning Service
Join the discussion
You must log in to join this conversation.