-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean up the defaults/main.yml files (Alina)
- Loading branch information
Showing
6 changed files
with
6 additions
and
149 deletions.
There are no files selected for viewing
28 changes: 1 addition & 27 deletions
28
tests/integration/targets/rds_cluster_create/defaults/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,11 @@ | ||
# defaults file for rds_cluster | ||
|
||
# Create cluster | ||
cluster_id: ansible-test-{{ inventory_hostname | replace('_','-') }}{{ tiny_prefix | ||
}} | ||
cluster_id: ansible-test-cluster-{{ tiny_prefix }} | ||
username: testrdsusername | ||
password: test-rds_password | ||
engine: aurora | ||
port: 3306 | ||
tags_create: | ||
Name: ansible-test-cluster-{{ tiny_prefix }} | ||
Created_By: Ansible_rds_cluster_integration_test | ||
|
||
# Modify cluster | ||
new_cluster_id: ansible-test-cluster-{{ tiny_prefix }}-new | ||
new_port: 1155 | ||
new_password: test-rds_password-new | ||
new_db_parameter_group_name: ansible-test-db-parameter-group-{{ tiny_prefix }}-new | ||
|
||
# Tag cluster | ||
tags_patch: | ||
Name: '{{ tiny_prefix }}-new' | ||
Created_by: Ansible rds_cluster integration tests | ||
|
||
# Create cluster in a VPC | ||
vpc_name: ansible-test-vpc-{{ tiny_prefix }} | ||
vpc_cidr: 10.{{ 256 | random(seed=tiny_prefix) }}.0.0/16 | ||
subnets: | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.1.0/24', zone: '{{ aws_region }}a'} | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.2.0/24', zone: '{{ aws_region }}b'} | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.3.0/24', zone: '{{ aws_region }}c'} | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.4.0/24', zone: '{{ aws_region }}d'} | ||
|
||
security_groups: | ||
- '{{ tiny_prefix }}-sg-1' | ||
- '{{ tiny_prefix }}-sg-2' | ||
- '{{ tiny_prefix }}-sg-3' |
17 changes: 1 addition & 16 deletions
17
tests/integration/targets/rds_cluster_create_sgs/defaults/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 1 addition & 24 deletions
25
tests/integration/targets/rds_cluster_modify/defaults/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,14 @@ | ||
# defaults file for rds_cluster | ||
|
||
# Create cluster | ||
cluster_id: ansible-test-{{ inventory_hostname | replace('_','-') }}{{ tiny_prefix | ||
}} | ||
cluster_id: ansible-test-cluster-{{ tiny_prefix }} | ||
username: testrdsusername | ||
password: test-rds_password | ||
engine: aurora | ||
port: 3306 | ||
tags_create: | ||
Name: ansible-test-cluster-{{ tiny_prefix }} | ||
Created_By: Ansible_rds_cluster_integration_test | ||
|
||
# Modify cluster | ||
new_cluster_id: ansible-test-cluster-{{ tiny_prefix }}-new | ||
new_port: 1155 | ||
new_password: test-rds_password-new | ||
new_db_parameter_group_name: ansible-test-db-parameter-group-{{ tiny_prefix }}-new | ||
|
||
# Tag cluster | ||
tags_patch: | ||
Name: '{{ tiny_prefix }}-new' | ||
Created_by: Ansible rds_cluster integration tests | ||
|
||
# Create cluster in a VPC | ||
vpc_name: ansible-test-vpc-{{ tiny_prefix }} | ||
vpc_cidr: 10.{{ 256 | random(seed=tiny_prefix) }}.0.0/16 | ||
subnets: | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.1.0/24', zone: '{{ aws_region }}a'} | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.2.0/24', zone: '{{ aws_region }}b'} | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.3.0/24', zone: '{{ aws_region }}c'} | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.4.0/24', zone: '{{ aws_region }}d'} | ||
|
||
security_groups: | ||
- '{{ tiny_prefix }}-sg-1' | ||
- '{{ tiny_prefix }}-sg-2' | ||
- '{{ tiny_prefix }}-sg-3' |
31 changes: 1 addition & 30 deletions
31
tests/integration/targets/rds_cluster_promote/defaults/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,8 @@ | ||
# defaults file for rds_cluster | ||
|
||
# Create cluster | ||
cluster_id: ansible-test-{{ inventory_hostname | replace('_','-') }}{{ tiny_prefix | ||
}} | ||
cluster_id: ansible-test-cluster-{{ tiny_prefix }} | ||
username: testrdsusername | ||
password: test-rds_password | ||
engine: aurora | ||
port: 3306 | ||
tags_create: | ||
Name: ansible-test-cluster-{{ tiny_prefix }} | ||
Created_By: Ansible_rds_cluster_integration_test | ||
|
||
# Modify cluster | ||
new_cluster_id: ansible-test-cluster-{{ tiny_prefix }}-new | ||
new_port: 1155 | ||
new_password: test-rds_password-new | ||
new_db_parameter_group_name: ansible-test-db-parameter-group-{{ tiny_prefix }}-new | ||
|
||
# Tag cluster | ||
tags_patch: | ||
Name: '{{ tiny_prefix }}-new' | ||
Created_by: Ansible rds_cluster integration tests | ||
|
||
# Create cluster in a VPC | ||
vpc_name: ansible-test-vpc-{{ tiny_prefix }} | ||
vpc_cidr: 10.{{ 256 | random(seed=tiny_prefix) }}.0.0/16 | ||
subnets: | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.1.0/24', zone: '{{ aws_region }}a'} | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.2.0/24', zone: '{{ aws_region }}b'} | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.3.0/24', zone: '{{ aws_region }}c'} | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.4.0/24', zone: '{{ aws_region }}d'} | ||
|
||
security_groups: | ||
- '{{ tiny_prefix }}-sg-1' | ||
- '{{ tiny_prefix }}-sg-2' | ||
- '{{ tiny_prefix }}-sg-3' |
31 changes: 1 addition & 30 deletions
31
tests/integration/targets/rds_cluster_restore/defaults/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,8 @@ | ||
# defaults file for rds_cluster | ||
|
||
# Create cluster | ||
cluster_id: ansible-test-{{ inventory_hostname | replace('_','-') }}{{ tiny_prefix | ||
}} | ||
cluster_id: ansible-test-cluster-{{ tiny_prefix }} | ||
username: testrdsusername | ||
password: test-rds_password | ||
engine: aurora | ||
port: 3306 | ||
tags_create: | ||
Name: ansible-test-cluster-{{ tiny_prefix }} | ||
Created_By: Ansible_rds_cluster_integration_test | ||
|
||
# Modify cluster | ||
new_cluster_id: ansible-test-cluster-{{ tiny_prefix }}-new | ||
new_port: 1155 | ||
new_password: test-rds_password-new | ||
new_db_parameter_group_name: ansible-test-db-parameter-group-{{ tiny_prefix }}-new | ||
|
||
# Tag cluster | ||
tags_patch: | ||
Name: '{{ tiny_prefix }}-new' | ||
Created_by: Ansible rds_cluster integration tests | ||
|
||
# Create cluster in a VPC | ||
vpc_name: ansible-test-vpc-{{ tiny_prefix }} | ||
vpc_cidr: 10.{{ 256 | random(seed=tiny_prefix) }}.0.0/16 | ||
subnets: | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.1.0/24', zone: '{{ aws_region }}a'} | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.2.0/24', zone: '{{ aws_region }}b'} | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.3.0/24', zone: '{{ aws_region }}c'} | ||
- {cidr: '10.{{ 256 | random(seed=tiny_prefix) }}.4.0/24', zone: '{{ aws_region }}d'} | ||
|
||
security_groups: | ||
- '{{ tiny_prefix }}-sg-1' | ||
- '{{ tiny_prefix }}-sg-2' | ||
- '{{ tiny_prefix }}-sg-3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters