Allow tempest to deploy when no heat in environment

Currently, the deployment of tempest will fail if heat does not exist
in the environment.  This commit updates
os_tempest/tasks/tempest_resources.yml so that users are only added
to heat_stack_owner role if tempest_service_available_heat is set to
True.

Change-Id: Ib3f6a11de60be86c1b2581d3c8da615d66ebae5b
This commit is contained in:
Matt Thompson 2015-09-22 14:36:12 +01:00
parent 4e85ba4e53
commit 9f761ca0fc

View File

@ -72,7 +72,7 @@
tags:
- tempest-setup
- name: Ensure tempest users have heat_stack_owners role
- name: Ensure tempest users have heat_stack_owner role
keystone:
command: ensure_user_role
token: "{{ keystone_auth_admin_token }}"
@ -85,6 +85,7 @@
until: add_service|success
retries: 5
delay: 10
when: tempest_service_available_heat | bool
with_items:
- demo
- alt_demo