No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time. - blog

Ansible Provisioning EC2 hosts


Create a variables file using ec2_vars/sample.yml as a template.


cp ec2_vars/sample.yml ec2_vars/webservers.yml
vi ec2_vars/webservers.yml

After setting all variables, run it:

ansible-playbook -vv -i localhost, -e "type=webservers" provision-ec2.yml

More info: