Skip to content

danishka/ansible1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#README

How to setup

  1. Update inventory/hosts file with ip address and the private_key
  2. Currect host IP addess and private_key filename should be update in group_vars/config file
  3. Disable host key check

Add following entry to /etc/ansible/ansible.cfg file, under {default] block if you need to disable host key check.

  [defaults]
  host_key_checking = false 

How to run

01). Please run the following command you once replaced above mentioned variables.

ansible-playbook -i  inventory/hosts site.yml 

02). for a verbose output:

ansible-playbook -i  inventory/hosts site.yml  -vvv

##Additional Information

  • This project has been tested on AWS using CentOS community AMI (ami-106aa373).
  • Host node and all type_a and type_b servers were deployed on same VPC with same security group and same keypair.

Releases

No releases published

Packages

No packages published