create an aws ec2 instance on centos 7 through ansible playbook
I created a playbook aws.yml and want to run it over my local host --- - hosts: webserver - vars: region: ap-south-1 instance_type: t2.micro ami: ami-005956c5f0f757d37 # Amazon linux LTS keypair: ansible # pem file name - tasks: - ec2:…