We have written Ansible YAML script to create an EC2 Windows_server
While running, if you're getting any error. Please follow this Repo to get it resolved. Ansible-Automation
Here pip and boto packages were already installed by using below commands
sudo yum -y install python-pip
sudo pip install boto boto3
Now run the YAML Script
ansible-playbook Launch_EC2-Instance.yml
Before Running the Ansible script, We have two Instance Running in the Cloud Console
Now we have successfully launched