Skip to content

Commit ce21075

Browse files
committed
Merge pull request #243 from CodeNow/add-ec2-inventory
oops
2 parents 3fe2308 + 2e08d96 commit ce21075

1 file changed

Lines changed: 0 additions & 96 deletions

File tree

  • ansible/roles/ec2/sg_configure/tasks

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

Lines changed: 0 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,6 @@
7777
from_port: 32768
7878
to_port: 65535
7979
group_id: "{{ sg_hipache }}"
80-
rules_egress:
81-
- proto: all
82-
from_port: -1
83-
to_port: -1
84-
group_id: "{{ sg_api }}"
85-
- proto: all
86-
from_port: -1
87-
to_port: -1
88-
group_id: "{{ sg_nat }}"
8980

9081
- name: Docker Container Service SG
9182
tags:
@@ -178,15 +169,6 @@
178169
from_port: 32768
179170
to_port: 65535
180171
group_id: "{{ sg_services }}"
181-
rules_egress:
182-
- proto: all
183-
from_port: -1
184-
to_port: -1
185-
group_id: "{{ sg_dock }}"
186-
- proto: all
187-
from_port: -1
188-
to_port: -1
189-
group_id: "{{ sg_nat }}"
190172

191173
- name: Hipache SG
192174
tags:
@@ -255,11 +237,6 @@
255237
from_port: 32768
256238
to_port: 65535
257239
group_id: "{{ sg_web }}"
258-
rules_egress:
259-
- proto: all
260-
from_port: -1
261-
to_port: -1
262-
cidr_ip: 0.0.0.0/0
263240

264241
- name: MongoDB SG
265242
tags:
@@ -296,15 +273,6 @@
296273
from_port: 27000
297274
to_port: 27020
298275
group_id: "{{ sg_dock }}"
299-
rules_egress:
300-
- proto: all
301-
from_port: -1
302-
to_port: -1
303-
group_id: "{{ sg_mongo }}"
304-
- proto: all
305-
from_port: -1
306-
to_port: -1
307-
group_id: "{{ sg_nat }}"
308276

309277
- name: Navi SG
310278
tags:
@@ -325,15 +293,6 @@
325293
from_port: 3567
326294
to_port: 3567
327295
group_id: "{{ sg_hipache }}"
328-
rules_egress:
329-
- proto: all
330-
from_port: -1
331-
to_port: -1
332-
group_id: "{{ sg_navi }}"
333-
- proto: all
334-
from_port: -1
335-
to_port: -1
336-
group_id: "{{ sg_nat }}"
337296

338297
- name: Neo4J SG
339298
tags:
@@ -358,15 +317,6 @@
358317
from_port: 7473
359318
to_port: 7474
360319
group_id: "{{ sg_services }}"
361-
rules_egress:
362-
- proto: all
363-
from_port: -1
364-
to_port: -1
365-
group_id: "{{ sg_neo4j }}"
366-
- proto: all
367-
from_port: -1
368-
to_port: -1
369-
group_id: "{{ sg_nat }}"
370320

371321
- name: RabbitMQ SG
372322
tags:
@@ -399,15 +349,6 @@
399349
from_port: 54320
400350
to_port: 54321
401351
group_id: "{{ sg_services }}"
402-
rules_egress:
403-
- proto: all
404-
from_port: -1
405-
to_port: -1
406-
group_id: "{{ sg_rabbit }}"
407-
- proto: all
408-
from_port: -1
409-
to_port: -1
410-
group_id: "{{ sg_nat }}"
411352

412353
- name: RDS SG
413354
tags:
@@ -428,15 +369,6 @@
428369
from_port: 5432
429370
to_port: 5432
430371
group_id: "{{ sg_services }}"
431-
rules_egress:
432-
- proto: all
433-
from_port: -1
434-
to_port: -1
435-
group_id: "{{ sg_rds }}"
436-
- proto: all
437-
from_port: -1
438-
to_port: -1
439-
group_id: "{{ sg_nat }}"
440372

441373
- name: Redis SG
442374
tags:
@@ -477,15 +409,6 @@
477409
from_port: 6379
478410
to_port: 6379
479411
group_id: "{{ sg_web }}"
480-
rules_egress:
481-
- proto: all
482-
from_port: -1
483-
to_port: -1
484-
group_id: "{{ sg_redis }}"
485-
- proto: all
486-
from_port: -1
487-
to_port: -1
488-
group_id: "{{ sg_nat }}"
489412

490413
- name: Services SG
491414
tags:
@@ -594,15 +517,6 @@
594517
from_port: 32768
595518
to_port: 63353
596519
group_id: "{{ sg_services }}"
597-
rules_egress:
598-
- proto: all
599-
from_port: -1
600-
to_port: -1
601-
group_id: "{{ sg_services }}"
602-
- proto: all
603-
from_port: -1
604-
to_port: -1
605-
group_id: "{{ sg_nat }}"
606520

607521
- name: Userland Hipache
608522
tags:
@@ -619,11 +533,6 @@
619533
from_port: 80
620534
to_port: 65535
621535
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
627536

628537
- name: Web
629538
tags:
@@ -680,8 +589,3 @@
680589
from_port: 32768
681590
to_port: 65535
682591
group_id: "{{ sg_hipache }}"
683-
rules_egress:
684-
- proto: all
685-
from_port: -1
686-
to_port: -1
687-
cidr_ip: 0.0.0.0/0

0 commit comments

Comments
 (0)