Default network segmentation ID correctly

Resolve an ansible 2.8 issue:
argument provider_segmentation_id is of type <type 'str'> and we
were unable to convert to int: <type 'str'> cannot be converted to an
int

Depends-On: https://review.opendev.org/#/c/660697/
Depends-On: https://review.opendev.org/#/c/660772/
Change-Id: Ic88bb7d6f36fe9ad9ff66bfb5119eee5a5f67cd2
This commit is contained in:
Logan V 2019-05-17 15:15:33 -05:00 committed by Jonathan Rosser
parent 62aa6923e6
commit ad019ce477
1 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@
validate_certs: "{{ tempest_keystone_interface_insecure | ternary(false, true) }}"
name: "{{ tempest_private_net_name }}"
provider_network_type: "{{ tempest_private_net_provider_type }}"
provider_segmentation_id: "{{ tempest_private_net_seg_id | default(omit) }}"
provider_segmentation_id: "{{ tempest_private_net_seg_id | default(omit, true) }}"
project: "{{ keystone_demo_tenant_id }}"
register: tempest_private_network
until: tempest_private_network is success
@ -173,7 +173,7 @@
name: "{{ tempest_public_net_name }}"
provider_network_type: "{{ tempest_public_net_provider_type }}"
provider_physical_network: "{{ tempest_public_net_physical_name | default(omit) }}"
provider_segmentation_id: "{{ tempest_public_net_seg_id | default(omit) }}"
provider_segmentation_id: "{{ tempest_public_net_seg_id | default(omit, true) }}"
external: "{{ tempest_public_router_external }}"
project: "{{ keystone_demo_tenant_id }}"
register: tempest_public_network