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