From 0d059d8b519a322d12dbe08df008d8c2986d0eb7 Mon Sep 17 00:00:00 2001 From: lwade Date: Tue, 2 Apr 2013 11:44:59 +0100 Subject: [PATCH] Updated and improved the documentation (examples) --- ec2 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ec2 b/ec2 index ae021541c3c..a2b7661f340 100644 --- a/ec2 +++ b/ec2 @@ -136,8 +136,12 @@ options: default: null aliases: [] examples: - - code: 'local_action: ec2 keypair=admin instance_type=m1.large image=emi-40603AD1 wait=yes group=webserver count=3 group=webservers' - description: "Examples from Ansible Playbooks" + - code: 'local_action: ec2 keypair=mykey instance_type=c1.medium image=emi-40603AD1 wait=yes group=webserver count=3' + description: "Basic provisioning example" + - code: 'local_action: ec2 keypair=mykey group=databases instance_type=m1.large image=ami-6e649707 wait=yes wait_timeout=500 count=5 instance_tags='{"db":"postgres"}' monitoring=true' + description: "Advanced example with tagging and CloudWatch" + - code: 'local_action: ec2 keypair=mykey group_id=sg-1dc53f72 instance_type=m1.small image=ami-6e649707 wait=yes vpc_subnet_id=subnet-29e63245' + description: "VPC example" requirements: [ "boto" ] author: Seth Vidal, Tim Gerla, Lester Wade '''