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.
Corazon
6 months agoReta
6 months agoDetra
6 months agoMirta
7 months agoDierdre
7 months agoRemona
7 months agoJudy
7 months agoKarol
7 months agoLeana
8 months agoJerry
8 months agoReyes
8 months agoSabra
8 months agoEun
8 months agoFlorinda
8 months agoRicki
8 months agoIsaac
8 months agoLeslee
8 months agoHuey
2 years agoEvan
2 years agoLaila
2 years agoEvelynn
2 years agoHolley
2 years agoAide
2 years agoSherell
2 years agoGeorgiana
2 years agoArmanda
2 years agoSherell
2 years agoGeorgiana
2 years agoSherell
2 years agoArmanda
2 years agoSherell
2 years agoGeorgiana
2 years agoSherell
2 years ago