zuul-jobs/roles/bindep/tasks/main.yaml
Tristan Cacqueray 184f036fd8 bindep: fix install bindep_command fact name
After installing bindep, the role should set the bindep_command fact
instead of bindep_found_command. Otherwise the role fail later:

Task: Define bindep_command fact
The error was: 'bindep_command' is undefined

Change-Id: I11a21c9678c75b7887a8a58c25925dc87e7c9315
2017-12-05 08:52:31 +00:00

18 lines
399 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_run 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