RedHat EX407 Question Answer
Create a role called sample-apache and store it in /home/bob/ansible/roles. The role should
satisfy the following requirements:
*In the role, install and enable httpd. Also enable the firewall to allow http. Also run the template
*index.html.j2 and make sure this runs Create a template index.html.j2 that displays "Welcome to the server HOSTNAME"
In a play called apache.yml in /home/bob/ansible/ run the sample-apache role.
RedHat EX407 Summary
- Vendor: RedHat
- Product: EX407
- Update on: Jan 8, 2026
- Questions: 41





