summaryrefslogtreecommitdiffstats
path: root/xci/file
diff options
context:
space:
mode:
Diffstat (limited to 'xci/file')
-rw-r--r--xci/file/aio/configure-opnfvhost.yml4
-rw-r--r--xci/file/setup-openstack.yml2
2 files changed, 4 insertions, 2 deletions
diff --git a/xci/file/aio/configure-opnfvhost.yml b/xci/file/aio/configure-opnfvhost.yml
index f24f470c..76a36196 100644
--- a/xci/file/aio/configure-opnfvhost.yml
+++ b/xci/file/aio/configure-opnfvhost.yml
@@ -18,11 +18,11 @@
command: "/bin/bash ./scripts/bootstrap-ansible.sh"
args:
chdir: "{{OPENSTACK_OSA_PATH}}"
- - name: Disable AIO tempest
+ - name: Configure AIO tempest
lineinfile:
path: "{{ OPENSTACK_OSA_PATH }}/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2"
regexp: "^{{ item }}.*"
- line: "{{ item }}: false"
+ line: "{{ item }}: {{ RUN_TEMPEST | bool }}"
state: present
with_items:
- "tempest_install"
diff --git a/xci/file/setup-openstack.yml b/xci/file/setup-openstack.yml
index 866a54f8..5d20adec 100644
--- a/xci/file/setup-openstack.yml
+++ b/xci/file/setup-openstack.yml
@@ -22,3 +22,5 @@
- include: os-horizon-install.yml
- include: os-swift-install.yml
- include: os-ironic-install.yml
+- include: os-tempest-install.yml
+ when: (tempest_install | default(False)) | bool or (tempest_run | default(False)) | bool