diff options
Diffstat (limited to 'tests/files/ansible/roles/ec2')
-rw-r--r-- | tests/files/ansible/roles/ec2/tasks/setup.yml | 32 | ||||
-rw-r--r-- | tests/files/ansible/roles/ec2/tasks/terminate.yml | 8 | ||||
-rw-r--r-- | tests/files/ansible/roles/ec2/vars/main.yml | 17 |
3 files changed, 0 insertions, 57 deletions
diff --git a/tests/files/ansible/roles/ec2/tasks/setup.yml b/tests/files/ansible/roles/ec2/tasks/setup.yml deleted file mode 100644 index 299b55c35..000000000 --- a/tests/files/ansible/roles/ec2/tasks/setup.yml +++ /dev/null @@ -1,32 +0,0 @@ ---- -- 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 diff --git a/tests/files/ansible/roles/ec2/tasks/terminate.yml b/tests/files/ansible/roles/ec2/tasks/terminate.yml deleted file mode 100644 index e3d3df672..000000000 --- a/tests/files/ansible/roles/ec2/tasks/terminate.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -- name: Terminate ec2 instances - local_action: ec2 - state=absent - instance_ids={{ ec2_id }} - region={{ region }} - wait=true - diff --git a/tests/files/ansible/roles/ec2/vars/main.yml b/tests/files/ansible/roles/ec2/vars/main.yml deleted file mode 100644 index 3166da02c..000000000 --- a/tests/files/ansible/roles/ec2/vars/main.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# default config for ec2 instances - -instance_type: c4.8xlarge -security_group: client-tests - -image: ami-9eaa1cf6 -region: us-east-1 -keypair: christoph - -# limit access to AWS to these clients in CDIR notation -ip_access_range: 0.0.0.0/0 - - -project_description: https://github.com/ethereum/tests - -total_no_instances: 3 |