zuul-jobs/roles/bindep/tasks/main.yaml
Monty Taylor a18999e002
Don't install bindep if there's no bindep file
Change-Id: I60f229f06e9655bead1f38a8e2d70c3048c0269b
2017-09-05 21:50:09 -05:00

18 lines
403 B
YAML

---
- include: find.yaml
when: bindep_file is not defined
- include: find-bindep.yaml
when: bindep_file is defined
- include: install.yaml
when: bindep_command is not defined
- name: Define bindep_command fact
set_fact:
bindep_run: "{{ bindep_command }} -b -f {{ bindep_file }} {{ bindep_profile }}"
when: bindep_file is defined
- include: packages.yaml
when: bindep_file is defined