File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
roles/infrastructure/tasks Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1919 infra__azure_security_group_rules :
2020 - name : ' AllowCallerAccess'
2121 protocol : Tcp
22+ # TODO Add back in infra__vpc_user_cidr as an union of source addresses
2223 source_address_prefix :
2324 - " {{ ipify_public_ip }}/32"
2425 destination_port_range : " {{ infra__vpc_user_ports }}"
4041 direction : Inbound
4142
4243- name : Add User and Extra security group rules for Azure
43- when : ( infra__vpc_extra_cidr | length > 0) or (infra__vpc_user_cidr | length > 0)
44+ when : infra__vpc_extra_cidr | length > 0
4445 ansible.builtin.set_fact :
4546 infra__azure_security_group_rules : " {{ infra__azure_security_group_rules | union(rule) }}"
4647 vars :
4748 rule :
4849 - name : ' AllowExtraAccess'
4950 protocol : Tcp
50- source_address_prefix : " {{ infra__vpc_extra_cidr | union(infra__vpc_user_cidr) }}"
51- destination_port_range : " {{ infra__vpc_extra_ports | union(infra__vpc_user_ports) }}"
51+ source_address_prefix : " {{ infra__vpc_extra_cidr }}"
52+ destination_port_range : " {{ infra__vpc_extra_ports }}"
5253 access : Allow
5354 priority : 201
5455 direction : Inbound
You can’t perform that action at this time.
0 commit comments