-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
I have this task:
- name: "Create 'ssh-anywhere' security group"
neutron_sec_group:
login_username: "admin"
login_password: "{{ ADMIN_PASS }}"
login_tenant_name: "admin"
auth_url: "https://{{controller_hostname}}:35357/v2.0"
state: "present"
name: 'ssh-anywhere'
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
- cloudsig
- copr
- coprdev
- infrastructure
- persistent
- pythonbots
- qa
- scratch
- transient
Which should create security group 'ssh-anywhere' for all tenants. However the result is only one security group of this name and created for "cloudintern" tenant.
I would expect that after running this there would be 10 security groups of this name. Each one for each tenant.
Metadata
Metadata
Assignees
Labels
No labels