diff --git a/tasks/tempest_post_install.yml b/tasks/tempest_post_install.yml index af5f6b84..9e84d062 100644 --- a/tasks/tempest_post_install.yml +++ b/tasks/tempest_post_install.yml @@ -190,7 +190,7 @@ path: "{{ tempest_excludelist_file_path }}" state: absent when: - - tempest_test_excludelist | length == 0 + - _tempest_test_excludelist | length == 0 - name: Drop test_accounts_file copy: diff --git a/tasks/tempest_run.yml b/tasks/tempest_run.yml index 5c74a5f6..163a57c6 100644 --- a/tasks/tempest_run.yml +++ b/tasks/tempest_run.yml @@ -31,7 +31,7 @@ {% if tempest_test_worker_file_path is defined %} --worker-file {{ tempest_test_worker_file_path }} \ {% endif %} - {% if tempest_test_excludelist | length > 0 %} + {% if _tempest_test_excludelist | length > 0 %} --exclude-list {{ tempest_excludelist_file_path }} \ {% endif %} --include-list {{ tempest_includelist_file_path }} > {{ tempest_log_dir }}/tempest_run.log @@ -110,7 +110,7 @@ fi tempest run \ --include-list {{ tempest_includelist_file_path }} \ - {% if tempest_test_excludelist | length > 0 %} + {% if _tempest_test_excludelist | length > 0 %} --exclude-list {{ tempest_excludelist_file_path }} \ {% endif %} --list-tests &> {{ tempest_log_dir }}/test_list.txt