Merge "Use tempest_domain_name var for setting domain"

This commit is contained in:
Zuul 2019-01-15 18:07:42 +00:00 committed by Gerrit Code Review
commit 7bfccfe47d
2 changed files with 5 additions and 2 deletions

View File

@ -288,6 +288,9 @@ tempest_tempest_conf_overrides: {}
## The name of cloud from clouds.yaml
tempest_cloud_name: "default"
## The name of domain from clouds.yaml
tempest_domain_name: "default"
# python-tempestconf variables
# The tempest_use_tempestconf by default is set to false, set to true if you
# want to generate the tempest.conf file with this tool, instead of

View File

@ -82,7 +82,7 @@
state: present
name: "{{ item }}"
description: "{{ item }} project"
domain_id: "default"
domain: "{{ tempest_domain_name }}"
interface: internal
verify: "{{ not (keystone_service_internaluri_insecure | bool) }}"
register: add_project
@ -97,7 +97,7 @@
state: present
name: "{{ item.name }}"
password: "{{ item.password | default(item.name) }}"
domain: default
domain: "{{ tempest_domain_name }}"
default_project: "{{ item.project | default(item.name) }}"
interface: internal
verify: "{{ not (keystone_service_internaluri_insecure | bool) }}"