Add testing nova secgroup to test bug in API
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
11a83754a3
commit
9bb59ea306
1 changed files with 22 additions and 0 deletions
|
@ -969,6 +969,28 @@
|
||||||
#################
|
#################
|
||||||
# Security Groups
|
# Security Groups
|
||||||
################
|
################
|
||||||
|
- name: "Create 'testing' 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: 'ssh-anywhere-{{item}}'
|
||||||
|
description: "allow ssh from anywhere"
|
||||||
|
tenant_name: "{{item}}"
|
||||||
|
rules:
|
||||||
|
- direction: "ingress"
|
||||||
|
port_range_min: "22"
|
||||||
|
port_range_max: "22"
|
||||||
|
ethertype: "IPv4"
|
||||||
|
protocol: "tcp"
|
||||||
|
remote_ip_prefix: "0.0.0.0/0"
|
||||||
|
with_items:
|
||||||
|
- cloudintern
|
||||||
|
|
||||||
|
- fail: msg="testing"
|
||||||
|
|
||||||
- name: "Create 'ssh-anywhere' security group"
|
- name: "Create 'ssh-anywhere' security group"
|
||||||
neutron_sec_group:
|
neutron_sec_group:
|
||||||
login_username: "admin"
|
login_username: "admin"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue