From cf805976f8082eff8ab41a92e67c86dc9b7c1126 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 15 Jun 2020 12:05:55 -0500 Subject: [PATCH] Use ensure-virtualenv in legacy puppet jobs In prep-apply we're assuing virtualenv which is not there. Now that the nodes don't have it by default, this breaks. Add it. Change-Id: I07a392f5bcbf4d5f04d8812d5c712d2fcc60747b --- playbooks/zuul/infra-puppet-apply/pre.yaml | 1 + playbooks/zuul/logstash-filters/run.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/playbooks/zuul/infra-puppet-apply/pre.yaml b/playbooks/zuul/infra-puppet-apply/pre.yaml index 8a37515876..ef75a7c94c 100644 --- a/playbooks/zuul/infra-puppet-apply/pre.yaml +++ b/playbooks/zuul/infra-puppet-apply/pre.yaml @@ -2,3 +2,4 @@ roles: - role: bindep bindep_profile: test + - role: ensure-virtualenv diff --git a/playbooks/zuul/logstash-filters/run.yaml b/playbooks/zuul/logstash-filters/run.yaml index 0f22ecac8d..f7ccc1a9ce 100644 --- a/playbooks/zuul/logstash-filters/run.yaml +++ b/playbooks/zuul/logstash-filters/run.yaml @@ -2,6 +2,9 @@ name: Autoconverted job legacy-logstash-filters from old job gate-logstash-filters-ubuntu-xenial tasks: + - include_role: + name: ensure-virtualenv + - name: Ensure legacy workspace directory file: path: '{{ ansible_user_dir }}/workspace'