zuul-jobs/roles/bindep/tasks/install.yaml
Paul Belanger 829297c37a
Ensure we load roles for linting
Did didn't have ansible-lint setup properly, as a results our roles
weren't actually linted properly.

Fix variable linting issues and ignore ANSIBLE0012.

Change-Id: I07aa940245e700c9f08df0f1920720f0ed9d3de0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-07-17 16:50:06 -04:00

17 lines
380 B
YAML

- name: create temp dir for bindep
tempfile:
state: directory
prefix: bindep
register: bindep_temp_dir
notify:
- remove bindep temp dir
- name: install bindep into temporary venv
pip:
name: bindep
virtualenv: "{{ bindep_temp_dir }}/venv"
- name: Define bindep_found_command
set_fact:
bindep_found_command: "{{ bindep_temp_dir }}/venv/bin/bindep"