Difference between revisions of "Ansible: create Amazon ec2 instance"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<pre> - amazon.aws.ec2: key_name: mykey instance_type: t2.micro image: ami-123456 wait: yes group: webserver count: 3 vpc_subnet_id: subnet-29e6324...")
Tags: Mobile web edit, Mobile edit
 
Tags: Mobile web edit, Mobile edit
Line 17: Line 17:
 
* {{AWS}}
 
* {{AWS}}
 
* {{Ansible}}
 
* {{Ansible}}
 +
 +
[[Category:Ansible]]

Revision as of 13:50, 12 April 2021

- amazon.aws.ec2:
    key_name: mykey
    instance_type: t2.micro
    image: ami-123456
    wait: yes
    group: webserver
    count: 3
    vpc_subnet_id: subnet-29e63245
    assign_public_ip: yes



See also

Advertising: