mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Updated and improved the documentation (examples)
This commit is contained in:
parent
2f944d87f6
commit
2233a4a6f3
1 changed files with 6 additions and 2 deletions
|
@ -136,8 +136,12 @@ options:
|
||||||
default: null
|
default: null
|
||||||
aliases: []
|
aliases: []
|
||||||
examples:
|
examples:
|
||||||
- code: 'local_action: ec2 keypair=admin instance_type=m1.large image=emi-40603AD1 wait=yes group=webserver count=3 group=webservers'
|
- code: 'local_action: ec2 keypair=mykey instance_type=c1.medium image=emi-40603AD1 wait=yes group=webserver count=3'
|
||||||
description: "Examples from Ansible Playbooks"
|
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" ]
|
requirements: [ "boto" ]
|
||||||
author: Seth Vidal, Tim Gerla, Lester Wade
|
author: Seth Vidal, Tim Gerla, Lester Wade
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue