summaryrefslogtreecommitdiffstats
path: root/xci/file
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-11-21 02:17:42 -0800
committerMarkos Chandras <mchandras@suse.de>2017-11-22 15:20:18 +0000
commita0e50ff54d5b7a9cec0998775a653018cc284237 (patch)
treee5c5779e7f783d5825897c721c0750037009e90b /xci/file
parent782379df78dd954b9746b9cfedce2c7f589a43b7 (diff)
Use RUN_TEMPEST global env
The RUN_TEMPEST global environment has been defined in *user-vars* but never used in the playbooks. This change pretends to enable the use of that value. Change-Id: I49ca092546494c0cdcb015a549828bf79fa5f889 Signed-off-by: Victor Morales <victor.morales@intel.com>
Diffstat (limited to 'xci/file')
-rw-r--r--xci/file/aio/configure-opnfvhost.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/xci/file/aio/configure-opnfvhost.yml b/xci/file/aio/configure-opnfvhost.yml
index 6b140c15..907e87de 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"