Skip to content

Commit 1ca4881

Browse files
author
Christopher M. Neill
committed
tweak the public (fe) egress rules
1 parent 8051d31 commit 1ca4881

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

  • ansible/roles/ec2/sg_configure/tasks

ansible/roles/ec2/sg_configure/tasks/main.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,7 @@
259259
- proto: all
260260
from_port: -1
261261
to_port: -1
262-
group_id: "{{ sg_hipache }}"
263-
- proto: all
264-
from_port: -1
265-
to_port: -1
266-
group_id: "{{ sg_nat }}"
262+
cidr_ip: 0.0.0.0/0
267263

268264
- name: MongoDB SG
269265
tags:
@@ -623,6 +619,11 @@
623619
from_port: 80
624620
to_port: 65535
625621
cidr_ip: 0.0.0.0/0
622+
rules_egress:
623+
- proto: all
624+
from_port: -1
625+
to_port: -1
626+
cidr_ip: 0.0.0.0/0
626627

627628
- name: Web
628629
tags:
@@ -683,8 +684,4 @@
683684
- proto: all
684685
from_port: -1
685686
to_port: -1
686-
group_id: "{{ sg_web }}"
687-
- proto: all
688-
from_port: -1
689-
to_port: -1
690-
group_id: "{{ sg_nat }}"
687+
cidr_ip: 0.0.0.0/0

0 commit comments

Comments
 (0)