Automating Load Balanced Server deployment using Ansible
- update the
aws_access_key
andaws_secret_key
values ininventory/aws_ec2.yml
and/roles/serverdeploy/vars/main.yml
- A private key file from AWS is required so create one and keep it on ur controller node and provide the path of that private key file in the
ansible.cfg
file underprivate_key_file