ansible-role-cloud-launcher/tasks/create_security_group_rule.yml
Ian Wienand 7dc9777628 Add the cloud name to more task details
Add the cloud name to make it easier to debug what's going on in each
teask when you have this running on many clouds.

Change-Id: Ife331f8048d18e8ecb8743d1cdedadbdedffa2a2
2018-11-07 10:09:15 +11:00

15 lines
930 B
YAML

---
- name: "Processing security_group_rule for {{ item_cloud.oscc_cloud|default(item_cloud.name) }}"
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) }}"