aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-03-21 15:55:27 +0000
committerGerrit Code Review <review@openstack.org>2016-03-21 15:55:27 +0000
commit11adcd546b9cef4ebfa9cefe931e2108b3f50a80 (patch)
treedabe07de3da807f34617ea5296cbeed818bfb935 /ansible
parentff3095f56ec4ea7a60c044dffe048aaedbfaafe2 (diff)
parent59298332fcce78d043692594177aa72e6ffb8d10 (diff)
downloadkolla-11adcd546b9cef4ebfa9cefe931e2108b3f50a80.tar.gz
kolla-11adcd546b9cef4ebfa9cefe931e2108b3f50a80.zip
Merge "Fix heat endpoint registration"
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/heat/tasks/register.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/ansible/roles/heat/tasks/register.yml b/ansible/roles/heat/tasks/register.yml
index 3e4235fb2..e5e595c53 100644
--- a/ansible/roles/heat/tasks/register.yml
+++ b/ansible/roles/heat/tasks/register.yml
@@ -2,8 +2,8 @@
- name: Creating the Heat service and endpoint
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
-m kolla_keystone_service
- -a "service_name=heat
- service_type=orchestration
+ -a "service_name={{ item.service_name }}
+ service_type={{ item.service_type }}
description='Openstack Orchestration'
endpoint_region={{ openstack_region_name }}
url='{{ item.url }}'
@@ -18,12 +18,12 @@
delay: 5
run_once: True
with_items:
- - {'interface': 'admin', 'url': '{{ heat_admin_endpoint }}'}
- - {'interface': 'internal', 'url': '{{ heat_internal_endpoint }}'}
- - {'interface': 'public', 'url': '{{ heat_public_endpoint }}'}
- - {'interface': 'admin', 'url': '{{ heat_cfn_admin_endpoint }}'}
- - {'interface': 'internal', 'url': '{{ heat_cfn_internal_endpoint }}'}
- - {'interface': 'public', 'url': '{{ heat_cfn_public_endpoint }}'}
+ - {'interface': 'admin', 'url': '{{ heat_admin_endpoint }}', 'service_name': 'heat', 'service_type': 'orchestration'}
+ - {'interface': 'internal', 'url': '{{ heat_internal_endpoint }}', 'service_name': 'heat', 'service_type': 'orchestration'}
+ - {'interface': 'public', 'url': '{{ heat_public_endpoint }}', 'service_name': 'heat', 'service_type': 'orchestration'}
+ - {'interface': 'admin', 'url': '{{ heat_cfn_admin_endpoint }}', 'service_name': 'heat-cfn', 'service_type': 'cloudformation'}
+ - {'interface': 'internal', 'url': '{{ heat_cfn_internal_endpoint }}', 'service_name': 'heat-cfn', 'service_type': 'cloudformation'}
+ - {'interface': 'public', 'url': '{{ heat_cfn_public_endpoint }}', 'service_name': 'heat-cfn', 'service_type': 'cloudformation'}
- name: Creating the Heat project, user, and role
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost