mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 14:41:23 -07:00
Add network_interfaces example
This commit is contained in:
parent
96d8401fb4
commit
df8b2d45bc
1 changed files with 7 additions and 0 deletions
|
@ -355,6 +355,13 @@ EXAMPLES = '''
|
||||||
vpc_subnet_id: subnet-29e63245
|
vpc_subnet_id: subnet-29e63245
|
||||||
assign_public_ip: yes
|
assign_public_ip: yes
|
||||||
|
|
||||||
|
# Example using pre-existing network interfaces
|
||||||
|
- ec2:
|
||||||
|
key_name: mykey
|
||||||
|
instance_type: t2.small
|
||||||
|
image: ami-f005ba11
|
||||||
|
network_interfaces: ['eni-deadbeef', 'eni-5ca1ab1e']
|
||||||
|
|
||||||
# Launch instances, runs some tasks
|
# Launch instances, runs some tasks
|
||||||
# and then terminate them
|
# and then terminate them
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue