create ssh-internal security group
This commit is contained in:
parent
a8fe4c378c
commit
b9bd6d11eb
1 changed files with 16 additions and 0 deletions
|
@ -455,3 +455,19 @@
|
||||||
protocol: "tcp"
|
protocol: "tcp"
|
||||||
remote_ip_prefix: "0.0.0.0/0"
|
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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue