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
This commit is contained in:
Monty Taylor 2020-06-15 12:05:55 -05:00
parent d97a6e2d5e
commit cf805976f8
2 changed files with 4 additions and 0 deletions

View File

@ -2,3 +2,4 @@
roles: roles:
- role: bindep - role: bindep
bindep_profile: test bindep_profile: test
- role: ensure-virtualenv

View File

@ -2,6 +2,9 @@
name: Autoconverted job legacy-logstash-filters from old job gate-logstash-filters-ubuntu-xenial name: Autoconverted job legacy-logstash-filters from old job gate-logstash-filters-ubuntu-xenial
tasks: tasks:
- include_role:
name: ensure-virtualenv
- name: Ensure legacy workspace directory - name: Ensure legacy workspace directory
file: file:
path: '{{ ansible_user_dir }}/workspace' path: '{{ ansible_user_dir }}/workspace'