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
3 months agoReta
3 months agoDetra
3 months agoMirta
4 months agoDierdre
4 months agoRemona
4 months agoJudy
4 months agoKarol
4 months agoLeana
5 months agoJerry
5 months agoReyes
5 months agoSabra
5 months agoEun
5 months agoFlorinda
5 months agoRicki
5 months agoIsaac
5 months agoLeslee
5 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