create ssh-internal security group

This commit is contained in:
Miroslav Suchý 2014-09-22 10:00:55 +00:00
parent a8fe4c378c
commit b9bd6d11eb

View file

@ -455,3 +455,19 @@
protocol: "tcp"
remote_ip_prefix: "0.0.0.0/0"
- name: Copr - Create 'ssh-internal' security group
neutron_sec_group:
login_username: "admin"
login_password: "{{ ADMIN_PASS }}"
login_tenant_name: "admin"
state: "present"
name: 'ssh-internal'
description: "allow ssh from copr-network"
tenant_name: "copr"
rules:
- direction: "ingress"
port_range_min: "22"
port_range_max: "22"
ethertype: "IPv4"
protocol: "tcp"
remote_ip_prefix: "172.24.0.1/12"