01858ea602
It's also very helpful to have the region in the task name when you have multiple regions for a cloud. Change-Id: I85c0769bb2332a91aa759fb90223ec812dc3e77d
15 lines
971 B
YAML
15 lines
971 B
YAML
---
|
|
- name: "Processing security_group_rule for {{ item_cloud.oscc_cloud|default(item_cloud.name) }} {{ item_cloud.region_name|default('') }}"
|
|
os_security_group_rule:
|
|
cloud: "{{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
|
|
state: "{{ item_security_group_rule.state|default(omit) }}"
|
|
security_group: "{{ item_security_group_rule.security_group }}"
|
|
direction: "{{ item_security_group_rule.direction|default(omit) }}"
|
|
ethertype: "{{ item_security_group_rule.ethertype|default(omit) }}"
|
|
port_range_max: "{{ item_security_group_rule.port_range_max|default(omit) }}"
|
|
port_range_min: "{{ item_security_group_rule.port_range_min|default(omit) }}"
|
|
protocol: "{{ item_security_group_rule.protocol|default(omit) }}"
|
|
remote_group: "{{ item_security_group_rule.remote_group|default(omit) }}"
|
|
remote_ip_prefix: "{{ item_security_group_rule.remote_ip_prefix|default(omit) }}"
|
|
region_name: "{{ item_cloud.region_name|default(omit) }}"
|