Delete .pypirc file at end of task

Since this file contains secrets, lets be extra safe and remove the
file after we've called twine.

Change-Id: I221a2e559430565c6a1a6852368445408d63f4b9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-08-29 11:29:14 -04:00
parent 1a36ffd08e
commit 4ee195decb
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 5 additions and 0 deletions

View File

@ -23,3 +23,8 @@
- name: Upload tarballs with twine
command: "{{ pypi_twine_executable }} upload -r {{ pypi_repository }} {{ item.path }}"
with_items: "{{ found_tarballs.files }}"
- name: Delete .pypirc configuration file
file:
path: ~/.pyirc
state: absent