Skip to content

Commit 86866a8

Browse files
committed
Streamline public and private subnet ID assignment
Signed-off-by: Webster Mudge <wmudge@cloudera.com>
1 parent 0bb7c20 commit 86866a8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

roles/infrastructure/tasks/initialize_aws.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767

6868
- name: Set facts for existing AWS Private Subnet IDs and associate VPC ID
6969
ansible.builtin.set_fact:
70-
infra__aws_private_subnet_ids: "{{ infra__aws_private_subnet_ids }}"
7170
infra__aws_subnet_ids: "{{ infra__aws_private_subnet_ids }}"
7271
infra__aws_vpc_id: "{{ __aws_private_subnets_info.subnets | map(attribute='vpc_id') | list | first }}"
7372

@@ -116,7 +115,6 @@
116115

117116
- name: Set facts for existing AWS Public Subnet IDs
118117
ansible.builtin.set_fact:
119-
infra__aws_public_subnet_ids: "{{ infra__aws_public_subnet_ids }}"
120118
infra__aws_subnet_ids: "{{ infra__aws_subnet_ids | default([]) | union(infra__aws_public_subnet_ids) }}"
121119
infra__aws_vpc_id: "{{ __aws_public_subnets_info.subnets | map(attribute='vpc_id') | list | first }}"
122120

0 commit comments

Comments
 (0)