use item.name here
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
4df004c870
commit
3d48fbb825
1 changed files with 2 additions and 2 deletions
|
@ -288,7 +288,7 @@
|
||||||
|
|
||||||
- name: add rule to new security group (ssh-from-persistent)
|
- name: add rule to new security group (ssh-from-persistent)
|
||||||
os_security_group_rule:
|
os_security_group_rule:
|
||||||
security_group: 'ssh-from-persistent-{{item}}'
|
security_group: 'ssh-from-persistent-{{item.name}}'
|
||||||
cloud: "{{ os_cloud }}"
|
cloud: "{{ os_cloud }}"
|
||||||
direction: "ingress"
|
direction: "ingress"
|
||||||
port_range_min: "22"
|
port_range_min: "22"
|
||||||
|
@ -296,7 +296,7 @@
|
||||||
ethertype: "IPv4"
|
ethertype: "IPv4"
|
||||||
protocol: "tcp"
|
protocol: "tcp"
|
||||||
remote_ip_prefix: "{{ item.prefix }}"
|
remote_ip_prefix: "{{ item.prefix }}"
|
||||||
project: "{{item}}"
|
project: "{{item.name}}"
|
||||||
with_items:
|
with_items:
|
||||||
- { name: copr, prefix: '172.25.80.1/20' }
|
- { name: copr, prefix: '172.25.80.1/20' }
|
||||||
- { name: coprdev, prefix: '172.25.80.1/20' }
|
- { name: coprdev, prefix: '172.25.80.1/20' }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue