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