summaryrefslogtreecommitdiffstats
path: root/roles/openshift_aws_sg/defaults/main.yml
blob: 9c480d33776617399582a364f539351530dd2e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
r_openshift_aws_sg_sg:
  default:
    name: "{{ r_openshift_aws_sg_clusterid }}"
    desc: "{{ r_openshift_aws_sg_clusterid }} default"
    rules:
    - proto: tcp
      from_port: 22
      to_port: 22
      cidr_ip: 0.0.0.0/0
    - proto: all
      from_port: all
      to_port: all
      group_name: "{{ r_openshift_aws_sg_clusterid }}"
  master:
    name: "{{ r_openshift_aws_sg_clusterid }}_master"
    desc: "{{ r_openshift_aws_sg_clusterid }} master instances"
    rules:
    - proto: tcp
      from_port: 80
      to_port: 80
      cidr_ip: 0.0.0.0/0
    - proto: tcp
      from_port: 443
      to_port: 443
      cidr_ip: 0.0.0.0/0
  compute:
    name: "{{ r_openshift_aws_sg_clusterid }}_compute"
    desc: "{{ r_openshift_aws_sg_clusterid }} compute node instances"
  infra:
    name: "{{ r_openshift_aws_sg_clusterid }}_infra"
    desc: "{{ r_openshift_aws_sg_clusterid }} infra node instances"
    rules:
    - proto: tcp
      from_port: 80
      to_port: 80
      cidr_ip: 0.0.0.0/0
    - proto: tcp
      from_port: 443
      to_port: 443
      cidr_ip: 0.0.0.0/0
    - proto: tcp
      from_port: 30000
      to_port: 32000
      cidr_ip: 0.0.0.0/0
  etcd:
    name: "{{ r_openshift_aws_sg_clusterid }}_etcd"
    desc: "{{ r_openshift_aws_sg_clusterid }} etcd instances"