✍CONFIGURE REVERSE PROXY USING ANSIBLE PLAYBOOK :

HELLO EVERYONE✌✌,

✍TASK DESCRIPTION :

✍What is Ansible ?

ANSIBLE

✍What is Ansible and what can it automate?

You can use Ansible to automate three types of tasks:

✍Why we need Ansible?

✍WHAT IS AN ANSIBLE-PLAYBOOK ?

✍What is Load Balancer ?

LOADBALANCER

✍What is HaProxy Load Balancer ?

✍ WHAT IS WEBSERVER ?

👉TO CONFIGURE ANSIBLE IN OUR OS :

# pip3 install ansible

# ansible — version

# vim ip.txt

# vim /etc/ansible/ansible.cfg

# mkdir task12

# cd /task12

✍ To Writing the Ansible-playbook for Haproxy load balancer :

# cd /etc/haproxy/

# ls

# vim haproxy.cfg

👉NEXT :

👉NEXT :

# vim lb.yml

# ansible-playbook — syntax-check lb.yml

👉 NEXT :

# ansible-playbook lb.yml

👉 NEXT :

👉 NEXT :

👉 LOAD BALANCER AFTER IT’S CONFIGURATION :

# systemctl status haproxy

👉HAPROXY AFTER IT’S CONFIGURATION :

# vim /etc/haproxy/haproxy.cfg

👉FOR TARGET NODE 1 :

# rpm -q httpd

# systemctl status httpd

# netstat -tnlp | grep httpd

👉 NEXT :

👉 NEXT :

👉SAME FOR TARGET NODE 2 :

THANK YOU🙏🙏 GUYS FOR READING MY BLOG…

KEEP LEARNING🙇‍♂️📖🙇….

KEEP SHARING✌✌….

ARTH-LEARNER || IIEC RISE || FLUTTER || PYTHON || REDHAT || DOCKERS || AI || BIG DATA || HADOOP || ANSIBLE || KUBERNETES || ML || DL || JENKINS || OPENSHIFT ||