Skip to content

salman8328/automation-with-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages