zuul-jobs/roles/bindep/tasks/main.yaml
Albin Vass 534968883d bindep: update include to include_tasks
include is being deprecated and import_tasks is supported
since 2.4 so update bindep to use that instead.

Change-Id: Id6961e4184abf394e8592bb79e4053e6b9a9eefe
2020-05-26 08:01:06 +00:00

20 lines
458 B
YAML

---
- include_tasks: find.yaml
when: bindep_file is not defined
- include_tasks: find-bindep.yaml
when: bindep_file is defined
- include_tasks: install.yaml
when:
- bindep_file is defined
- 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_tasks: packages.yaml
when: bindep_file is defined