-
Bug
-
Resolution: Done
-
Minor
-
RH294 - RHEL9.0-en-2-20221117
-
None
-
6
-
en-US (English)
URL:
Reporter RHNID:
Section: -
Language: en-US (English)||||||||
Workaround:
Description: Please consider using FQCN for the import_tasks and include_tasks modules to match the style of the rest of the course book.
Also, these web servers are all giving 403 Forbidden errors at the end of the exercise, which the grading script doesn't catch:
$ curl http://servera -I HTTP/1.1 403 Forbidden Date: Fri, 03 Feb 2023 15:50:20 GMT Server: Apache/2.4.51 (Red Hat Enterprise Linux) Last-Modified: Mon, 09 Aug 2021 11:43:42 GMT ETag: "1715-5c91ee59c9780" Accept-Ranges: bytes Content-Length: 5909 Connection: close Content-Type: text/html; charset=UTF-8
To fix, please add a task to tasks/web_tasks.yml to create an index page on the web servers. Something like the following will do:
- name: Deploy index page
ansible.builtin.copy:
content: This is {{ ansible_facts['fqdn'] }}
dest: /var/www/html/index.html
- relates to
-
PTL-5159 RH294-231: 6.3 Including and Importing Files - Using FQCN
-
- Closed
-