python-upload-pypi: only run on success

Change-Id: I1774edb243cf694d76bc0939aa6cbab33ebfe678
This commit is contained in:
Tristan Cacqueray 2017-12-27 05:10:58 +00:00
parent af67099a29
commit f5180b5e4d

View File

@ -1,3 +1,4 @@
- hosts: all - hosts: all
roles: roles:
- role: upload-pypi - role: upload-pypi
when: zuul_success | bool