
include is being deprecated and import_tasks is supported since 2.4 so update bindep to use that instead. Change-Id: Id6961e4184abf394e8592bb79e4053e6b9a9eefe
20 lines
458 B
YAML
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
|