Skip to content

yesudas-philiph/building-an-infra-in-aws-with-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Building-an-infra-with-ansible

setup

creating keypair

creating security groups

creating EC2 instances

setting up dynamic inventory

provisioning the created EC2 instances

files required

inventory containing static inventory list
variable file myvars
and main file contains playbook code\

inventory

localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python3

ansible features used here

dynamic inventory

setting environmental variables

variable declaration outside main code