
A warning in command description of run cleanup first with dry-run is added. The cleanup behavior is extended to allow users to delete only resources if their name starts with a certain prefix. Closes-Bug: #1945082 Change-Id: I65dfe051c891b3679538acec713e8616746c47f6
16 lines
501 B
YAML
16 lines
501 B
YAML
---
|
|
- name: Run tempest cleanup dry-run
|
|
become: yes
|
|
become_user: tempest
|
|
command: tox -evenv-tempest -- tempest cleanup --dry-run --debug
|
|
args:
|
|
chdir: "{{ devstack_base_dir }}/tempest"
|
|
when: not run_tempest_cleanup_prefix
|
|
|
|
- name: Run tempest cleanup dry-run with tempest prefix
|
|
become: yes
|
|
become_user: tempest
|
|
command: tox -evenv-tempest -- tempest cleanup --dry-run --debug --prefix tempest
|
|
args:
|
|
chdir: "{{ devstack_base_dir }}/tempest"
|
|
when: run_tempest_cleanup_prefix |