From 2de2393db7ed0aae1ae638d2b5daf3ab4f2a189b Mon Sep 17 00:00:00 2001 From: Rod Vagg <rod@vagg.org> Date: Mon, 29 Jun 2020 12:39:17 +1000 Subject: [PATCH] python3 hack --- .../roles/jenkins-worker/tasks/partials/tap2junit/ubuntu.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/roles/jenkins-worker/tasks/partials/tap2junit/ubuntu.yml b/ansible/roles/jenkins-worker/tasks/partials/tap2junit/ubuntu.yml index fe5d82a86..ed0ff4b85 100644 --- a/ansible/roles/jenkins-worker/tasks/partials/tap2junit/ubuntu.yml +++ b/ansible/roles/jenkins-worker/tasks/partials/tap2junit/ubuntu.yml @@ -4,8 +4,12 @@ # ubuntu series: python 2.7 # +# TODO(@rvagg): a hack, how do we handle py3? + - name: install pip package: name=python-pip state=present + when: os != "ubuntu2004" - name: install tap2junit pip: name=tap2junit state=present + when: os != "ubuntu2004"