This task does fail.
- name: Test php page is installed ansible.builtin.copy: src: index.php dest: /var/www/html/index.php mode: 0644
Serverb httpd error log is posting
No matching DirectoryIndex
looking further into /etc/httpd/conf/httpd.conf
index.php is missing in the DirectoryIndex
<IfModule dir_module> DirectoryIndex index.html </IfModule>
after chaning this to
<IfModule dir_module> DirectoryIndex index.html index.php </IfModule>
I was able to pass
lab grade playbook-review
Hello @bwessel !
I just followed the lab Ch02s09 as per the instructions in the course and found no issues as such :
Could you please recheck the same. Try it again in a freshly built lab environment and share the error screenshots - so that I can take a look.
It worked, but I just had this again while doing the review-cr2 and this on a freshly built environment.
this time, I needed to add this to the to the vhost.conf file.
with best regards.