aboutsummaryrefslogtreecommitdiff
path: root/tests/run.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run.yml')
-rw-r--r--tests/run.yml22
1 files changed, 4 insertions, 18 deletions
diff --git a/tests/run.yml b/tests/run.yml
index 9178300be..46aae8cea 100644
--- a/tests/run.yml
+++ b/tests/run.yml
@@ -397,14 +397,8 @@
# NOTE(yoctozepto): this is nice as the first step after the deployment
# because it waits for the services to stabilize well enough so that
# the dashboard is able to show the login prompt
- - name: Run test-dashboard.sh script
- script:
- cmd: test-dashboard.sh
- executable: /bin/bash
- chdir: "{{ kolla_ansible_src_dir }}"
- environment:
- TLS_ENABLED: "{{ tls_enabled }}"
- LE_ENABLED: "{{ le_enabled }}"
+ - import_role:
+ name: kolla-ansible-test-dashboard
when: dashboard_enabled
- name: Run init-core-openstack.sh script
@@ -739,16 +733,8 @@
KOLLA_ANSIBLE_VENV_PATH: "{{ kolla_ansible_venv_path }}"
SCENARIO: "{{ scenario }}"
- # NOTE(yoctozepto): this is nice as the first step after the upgrade
- # because it waits for the services to stabilize well enough so that
- # the dashboard is able to show the login prompt
- - name: Run test-dashboard.sh script (post upgrade)
- shell:
- cmd: tests/test-dashboard.sh
- executable: /bin/bash
- chdir: "{{ kolla_ansible_src_dir }}"
- environment:
- TLS_ENABLED: "{{ tls_enabled }}"
+ - import_role:
+ name: kolla-ansible-test-dashboard
when: dashboard_enabled
# NOTE(yoctozepto): We need the script module here to avoid