openstack-ansible-tests/test-install-tempest.yml
Andy McCrae 2d5b6d0d1a Add rolename setting for tempest
Allow tempest to deploy itself, using the tempest_rolename variable,
this is required for tempest to use the test-install-tempest.yml play,
as the rolename will be "{toxinidir}" for the tempest repository.

Change-Id: I4834413b4a006567be4bcc649bd674dcb3c93c2e
2016-09-26 21:56:47 +01:00

24 lines
786 B
YAML

---
# Copyright 2015, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Playbook for deploying tempest
hosts: utility_all
user: root
gather_facts: true
roles:
- role: "{{ tempest_rolename | default('os_tempest') }}"
vars_files:
- test-vars.yml