mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
789 B
32 lines
789 B
---
|
|
- name: create default security group
|
|
ec2_group:
|
|
name: "{{ security_group }}"
|
|
region: "{{ region }}"
|
|
description: "{{ project_description }}"
|
|
rules:
|
|
# ssh
|
|
- proto: tcp
|
|
from_port: 22
|
|
to_port: 22
|
|
cidr_ip: "{{ ip_access_range }}"
|
|
rules_egress:
|
|
- proto: all
|
|
cidr_ip: "{{ ip_access_range }}"
|
|
|
|
|
|
- name: start ec2 instances
|
|
ec2:
|
|
group: "{{ security_group }}"
|
|
instance_type: "{{ instance_type }}"
|
|
image: "{{ image }}"
|
|
wait: true
|
|
region: "{{ region }}"
|
|
key_name: "{{ keypair }}"
|
|
instance_tags:
|
|
Name: "{{ item }}"
|
|
Role: client-tests
|
|
count_tag:
|
|
Name: "{{ item }}"
|
|
exact_count: 1
|
|
with_sequence: start=0 end={{ total_no_instances - 1 }} format=testrunner-%1u
|
|
|