Commit a1b713e2 authored by Eric Pellegrini's avatar Eric Pellegrini

clearly separatation for input variables of the different tasks of os_networks role

parent e2b1993b
......@@ -12,6 +12,6 @@
provider_network_type: "{{ item.provider_network_type | default(omit) }}"
provider_physical_network: "{{ item.provider_physical_network | default(omit) }}"
provider_segmentation_id: "{{ item.provider_segmentation_id | default(omit) }}"
loop: "{{ networks['networks'] | default([]) }}"
loop: "{{ networks | default([]) }}"
environment:
OS_IDENTITY_API_VERSION: 3
......@@ -9,6 +9,6 @@
project: "{{ item.project | default(omit) }}"
network: "{{ item.network | default(omit) }}"
interfaces: "{{ item.interfaces | default(omit) }}"
loop: "{{ networks['routers'] | default([]) }}"
loop: "{{ networks | default([]) }}"
environment:
OS_IDENTITY_API_VERSION: 3
......@@ -15,7 +15,7 @@
description: "{{ item.description | default(omit) }}"
port_range_min: "{{ item.port_range_min | default(omit) }}"
port_range_max: "{{ item.port_range_max | default(omit) }}"
loop: "{{ networks['security_group_rules'] | default([]) }}"
loop: "{{ networks | default([]) }}"
environment:
OS_IDENTITY_API_VERSION: 3
......@@ -8,6 +8,6 @@
project: "{{ item.project | default(omit) }}"
cloud: "{{ item.cloud | default(omit) }}"
description: "{{ item.description | default(omit) }}"
loop: "{{ os_networks['security_groups'] | default([]) }}"
loop: "{{ os_networks | default([]) }}"
environment:
OS_IDENTITY_API_VERSION: 3
......@@ -15,6 +15,6 @@
allocation_pool_end: "{{ item.allocation_pool_end | default(omit) }}"
dns_nameservers: "{{ item.dns_nameservers | default(omit) }}"
project: "{{ item.project | default(omit) }}"
loop: "{{ networks['subnets'] | default([]) }}"
loop: "{{ networks | default([]) }}"
environment:
OS_IDENTITY_API_VERSION: 3
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment