Create a role called apache in "/home/admin/ansible/roles" with the following
requirements:
--> The httpd package is installed, enabled on boot, and started.
--> The firewall is enabled and running with a rule to allow access to the web server.
--> template file index.html.j2 is used to create the file /var/www/html/index.html
with the output:
Welcome to HOSTNAME on IPADDRESS
--> Where HOSTNAME is the fqdn of the managed node and IPADDRESS is the IP-Address of
the managed node.
note: you have to create index.html.j2 file.
--> Create a playbook called httpd.yml that uses this role and the playbook runs on
hosts in the webservers host group.
Huey
5 months agoEvan
5 months agoLaila
5 months agoEvelynn
6 months agoHolley
6 months agoAide
6 months agoSherell
7 months agoGeorgiana
7 months agoArmanda
7 months agoSherell
7 months agoGeorgiana
7 months agoSherell
7 months agoArmanda
7 months agoSherell
7 months agoGeorgiana
7 months agoSherell
7 months ago