zuul-jobs/roles/bindep/tasks/install.yaml
Andreas Jaeger 7e04128a8b Capitalize task names
We capitalize the first word in task names in general - and when you
follow a log and suddenly see a single lower-case one flying along...

Fix those names that I could find and that are not variables etc.

Change-Id: I9ccde577413270d49fd790c41767b859366dc2f6
2020-05-16 17:46:17 +02:00

22 lines
520 B
YAML

- name: Create temp dir for bindep
tempfile:
state: directory
prefix: bindep
register: bindep_temp_dir
notify:
- Remove bindep temp dir
- name: Ensure we have pip dependencies
include_role:
name: ensure-pip
- name: Install bindep into temporary venv
pip:
name: bindep
virtualenv_command: '{{ ensure_pip_virtualenv_command }}'
virtualenv: '{{ bindep_temp_dir.path }}/venv'
- name: Define bindep_command
set_fact:
bindep_command: "{{ bindep_temp_dir.path }}/venv/bin/bindep"