| # Changes that run through devstack-tempest are likely to have an impact on |
| # the devstack part of the job, so we keep devstack in the main play to |
| # avoid zuul retrying on legitimate failures. |
| # We run tests only on one node, regardless how many nodes are in the system |
| - name: Setup Tempest Run Directory |
| name: setup-tempest-run-dir |
| - name: Setup Tempest Data Directory |
| name: setup-tempest-data-dir |
| - name: ACL devstack files |
| - name: Run tempest cleanup init-saved-state |
| when: (run_tempest_dry_cleanup is defined and run_tempest_dry_cleanup | bool) or |
| (run_tempest_cleanup is defined and run_tempest_cleanup | bool) or |
| (run_tempest_fail_if_leaked_resources is defined and run_tempest_fail_if_leaked_resources | bool) |
| - name: Run tempest cleanup dry-run |
| when: run_tempest_dry_cleanup is defined and run_tempest_dry_cleanup | bool |
| - name: Run tempest cleanup |
| when: run_tempest_cleanup is defined and run_tempest_cleanup | bool |