inspector: fix service catalog creation
The service catalog is not properly created at the moment, this patch fixes it. Change-Id: I7439b21247302f2cf1dbe6732c124c3b1d25bb70
This commit is contained in:
parent
02750db47b
commit
eeffeeef04
@ -147,7 +147,7 @@
|
|||||||
_service_users: "{{ ironic_service_user_list }}"
|
_service_users: "{{ ironic_service_user_list }}"
|
||||||
_service_endpoints: "{{ ironic_service_endpoint_list }}"
|
_service_endpoints: "{{ ironic_service_endpoint_list }}"
|
||||||
_service_catalog: "{{ ironic_service_catalog_list }}"
|
_service_catalog: "{{ ironic_service_catalog_list }}"
|
||||||
when: inventory_hostname == groups['ironic_api'][0]
|
when: (inventory_hostname == groups['ironic_api'][0] or inventory_hostname == groups['ironic_inspector'][0])
|
||||||
tags:
|
tags:
|
||||||
- ironic-config
|
- ironic-config
|
||||||
|
|
||||||
|
@ -210,7 +210,7 @@ ironic_service_endpoint_list: >
|
|||||||
)
|
)
|
||||||
%}
|
%}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if inventory_hostname in groups['ironic_inspector'] %}
|
{%- if ironic_services['ironic-inspector']['group'] in group_names %}
|
||||||
{%- set _ = service_endpoint_list.append(
|
{%- set _ = service_endpoint_list.append(
|
||||||
{
|
{
|
||||||
'service': ironic_inspector_service_name,
|
'service': ironic_inspector_service_name,
|
||||||
@ -250,7 +250,7 @@ ironic_service_catalog_list: >
|
|||||||
)
|
)
|
||||||
%}
|
%}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if inventory_hostname in groups['ironic_inspector'] %}
|
{%- if ironic_services['ironic-inspector']['group'] in group_names %}
|
||||||
{%- set _ = service_catalog_list.append(
|
{%- set _ = service_catalog_list.append(
|
||||||
{
|
{
|
||||||
'name': ironic_inspector_service_name,
|
'name': ironic_inspector_service_name,
|
||||||
|
Loading…
Reference in New Issue
Block a user