Allow deployer to skip default resource creation
This patch is part of a set that aims to break out tempest resource creation from the role, and introduces the tempest_default_role_resources var. When true, default role resources are created. When false, deployer-specific resources must be created prior to executing os-tempest-install.yml or including the os_tempest role in other playbooks. Change-Id: I42cb8ffbe8aa8cfdcdcfcbbccf28117a27c519b1
This commit is contained in:
parent
278ef6f829
commit
253f023888
|
@ -39,6 +39,10 @@ tempest_service_setup_host_python_interpreter: "{{ openstack_service_setup_host_
|
|||
|
||||
# Toggle whether tempest actually executes
|
||||
tempest_run: no
|
||||
|
||||
# Toggle whether default resources are implemented
|
||||
tempest_default_role_resources: yes
|
||||
|
||||
# Define 0 (serial) or more to use a non default concurrency
|
||||
#tempest_run_concurrency:
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
- tempest-install
|
||||
|
||||
- import_tasks: tempest_resources.yml
|
||||
when: tempest_run | bool
|
||||
when: tempest_default_role_resources | bool
|
||||
run_once: yes
|
||||
tags:
|
||||
- tempest-config
|
||||
|
|
Loading…
Reference in New Issue