Software management configuration using ansible.
Operation System: Red Hat Enterprise Linux 8
Softwares:
- Apache webserver
- Tomcat application server
- MySQL database server
- Telnet
- Curl
- Nslookup
- Oracle JDK
Choose where to install ansbile, it can be either from your:
- remotely on your laptop (your own choice of OS)
- locally on the ec2 instance created.
Update the IP address in the hosts file
ansible kp_devops -i hosts -m ping
Apache:
ansible-playbook -i hosts apache.yml
Mysql:
ansible-playbook -i hosts mysql.yml
Tomcat:
ansible-playbook -i hosts tomcat.yml
Common (curl,telnet,Oracle JDK and Nslookup):
ansible-playbook -i hosts common.yml
ansible-playbook -i hosts site.yml