Add port 5000 secgroup for ticket#5112

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-02-16 21:13:29 +00:00
parent d6d727e6be
commit 3c1fe667e2

View file

@ -1066,6 +1066,25 @@
remote_ip_prefix: "0.0.0.0/0"
with_items: all_tenants
- name: "Create 'docker-registry-5000-anywhere' security group"
neutron_sec_group:
login_username: "admin"
login_password: "{{ ADMIN_PASS }}"
login_tenant_name: "admin"
auth_url: "https://{{controller_publicname}}:35357/v2.0"
state: "present"
name: 'docker-registry-5000-anywhere-{{item}}'
description: "allow docker-registry-5000 from anywhere"
tenant_name: "{{item}}"
rules:
- direction: "ingress"
port_range_min: "5000"
port_range_max: "5000"
ethertype: "IPv4"
protocol: "tcp"
remote_ip_prefix: "0.0.0.0/0"
with_items: all_tenants
- name: "Create 'wide-open' security group"
neutron_sec_group:
login_username: "admin"