Create a security group pg-5432-anywhere
This commit is contained in:
parent
66354696c2
commit
1c18ee4599
1 changed files with 19 additions and 0 deletions
|
@ -1124,6 +1124,25 @@
|
|||
protocol: "tcp"
|
||||
remote_ip_prefix: "172.25.32.1/20"
|
||||
|
||||
- name: "Create 'pg-5432-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: 'pg-5432-anywhere-{{item}}'
|
||||
description: "allow postgresql-5432 from anywhere"
|
||||
tenant_name: "{{item}}"
|
||||
rules:
|
||||
- direction: "ingress"
|
||||
port_range_min: "5432"
|
||||
port_range_max: "5432"
|
||||
ethertype: "IPv4"
|
||||
protocol: "tcp"
|
||||
remote_ip_prefix: "0.0.0.0/0"
|
||||
with_items: all_tenants
|
||||
|
||||
|
||||
# Update quota for Copr
|
||||
# SEE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue