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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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