diff --git a/galaxy.yml b/galaxy.yml index 1c95092..d5273b5 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: cisco name: sdwan_deployment -version: 0.2.0 +version: 0.2.1 readme: README.md authors: - Arkadiusz Cichon diff --git a/roles/aws_network_infrastructure/tasks/aws_gather_network_resources.yml b/roles/aws_network_infrastructure/tasks/aws_gather_network_resources.yml index e0d3508..b1ea0dd 100644 --- a/roles/aws_network_infrastructure/tasks/aws_gather_network_resources.yml +++ b/roles/aws_network_infrastructure/tasks/aws_gather_network_resources.yml @@ -28,6 +28,7 @@ - name: Gather information about any VPC subnet within VPC with ID amazon.aws.ec2_vpc_subnet_info: + region: "{{ aws_region }}" filters: vpc-id: "{{ aws_discovered_vpc.id }}" register: aws_subnet_info diff --git a/roles/aws_teardown/tasks/ec2_instance.yml b/roles/aws_teardown/tasks/ec2_instance.yml index bd9984b..9db5f5d 100644 --- a/roles/aws_teardown/tasks/ec2_instance.yml +++ b/roles/aws_teardown/tasks/ec2_instance.yml @@ -5,6 +5,7 @@ # EC2 Instances - name: Gather facts about all instances in VPC amazon.aws.ec2_instance_info: + region: "{{ aws_region }}" filters: vpc-id: "{{ aws_vpc_id }}" instance-state-name: ["pending", "running", "shutting-down", "stopping", "stopped"] diff --git a/roles/aws_teardown/tasks/ec2_specific_instance.yml b/roles/aws_teardown/tasks/ec2_specific_instance.yml index 6c59e9d..7d06151 100644 --- a/roles/aws_teardown/tasks/ec2_specific_instance.yml +++ b/roles/aws_teardown/tasks/ec2_specific_instance.yml @@ -9,6 +9,7 @@ # EC2 Instances - name: Gather facts about all instances in VPC amazon.aws.ec2_instance_info: + region: "{{ aws_region }}" filters: vpc-id: "{{ aws_vpc_id }}" "tag:Creator": "{{ aws_tag_creator }}" diff --git a/roles/common/tasks/aws_existing_instances.yml b/roles/common/tasks/aws_existing_instances.yml index b2aa3b5..081ea90 100644 --- a/roles/common/tasks/aws_existing_instances.yml +++ b/roles/common/tasks/aws_existing_instances.yml @@ -17,6 +17,7 @@ - name: Gather facts about all instances in VPC amazon.aws.ec2_instance_info: + region: "{{ aws_region }}" filters: vpc-id: "{{ ec2_vpc_net_info.vpcs[0].id }}" instance-state-name: ["pending", "running", "shutting-down", "stopping", "stopped"]