projects
/
awsible
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6d40a647d3d161f58b18dc4eaea3eb7041db05c9
[awsible]
/
roles
/
common-infrastructure
/
tasks
/
main.yml
1
---
2
- name: sg ssh
3
ec2_group:
4
vpc_id: "{{ vpc.vpc.id }}"
5
region: "{{ vpc_region }}"
6
state: present
7
name: ssh
8
description: "allow ssh from anywhere"
9
purge_rules: false
10
rules:
11
- proto: tcp
12
from_port: 22
13
to_port: 22
14
cidr_ip: 0.0.0.0/0
15
rules_egress:
16
- proto: all
17
cidr_ip: 0.0.0.0/0
18
register: sg_ssh