Skip mail send from tempest

Make validate_tempest send mail only when it's configured so.
It's used in queens, on recent branches we use os_tempest.
Change-Id: Id0d57b3f78b51f756f5ca4d5c1fcf60452bbcc16
This commit is contained in:
Sagi Shnaidman 2020-11-23 22:00:38 +02:00 committed by Shnaidman Sagi
parent 6b8bbf8d93
commit 5ee5804655
1 changed files with 1 additions and 0 deletions

View File

@ -91,3 +91,4 @@
args:
chdir: "{{ working_dir }}/tempestmail"
ignore_errors: true
when: send_mail_tempest|default(false)|bool