Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 899 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 899 Bytes

#this project will CONFIGURE servers through ansible

netwotkautomation by ANSIBLE

done by SIDDAVATAM.SALMANUDDIN AHAMAD

#BTH

  1. Create ssh key pairs (ssh-keygen -t rsa)
  • remember the path where the keys are .
  • remember that the server key file permissions should be 400, if not try "chmod 400 "
  1. edit my config file and save the config file in /.ssh/ ####### the config file has the ip address of my servers and is commented indicating where to change ip address with your ip addresses. #######

  2. type the following commands in ubuntu, replace "<path in your system .....>" with the path of your system.

  3. after the above steps are done, run the below command in your system ubuntu terminal

$cd home/salman_ansible $ ansible-playbook -i hosts automation.yaml

  • ansible playbook with take some time to deploy on each server so keep paitence to get it completed.