Resolve duplicate service_type for service setup

While doing service setup, it would always deploy all services
with the same service type which means that the cloudformation
service would end up where the orchestration is.

This patch splits out each item to be it's own in order to avoid
this issue.

Change-Id: Ie664790421697a1f3fa3ccbd343d6f9fb9545161
This commit is contained in:
Mohammed Naser 2018-08-26 13:45:55 -04:00
parent f8c771b364
commit fa68bd29e4
1 changed files with 7 additions and 1 deletions

View File

@ -107,7 +107,7 @@
os_keystone_endpoint:
cloud: default
state: present
service: "{{ heat_service_name }}"
service: "{{ item.service }}"
endpoint_interface: "{{ item.interface }}"
url: "{{ item.url }}"
region: "{{ heat_service_region }}"
@ -120,13 +120,19 @@
with_items:
- interface: "public"
url: "{{ heat_service_publicurl }}"
service: "{{ heat_service_name }}"
- interface: "internal"
url: "{{ heat_service_internalurl }}"
service: "{{ heat_service_name }}"
- interface: "admin"
url: "{{ heat_service_adminurl }}"
service: "{{ heat_service_name }}"
- interface: "public"
url: "{{ heat_cfn_service_publicurl }}"
service: "{{ heat_cfn_service_name }}"
- interface: "internal"
url: "{{ heat_cfn_service_internalurl }}"
service: "{{ heat_cfn_service_name }}"
- interface: "admin"
url: "{{ heat_cfn_service_adminurl }}"
service: "{{ heat_cfn_service_name }}"