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
This commit is contained in:
Albin Vass 2020-05-25 20:33:26 +02:00
parent 162daaebe5
commit 534968883d

View File

@ -1,11 +1,11 @@
---
- include: find.yaml
- include_tasks: find.yaml
when: bindep_file is not defined
- include: find-bindep.yaml
- include_tasks: find-bindep.yaml
when: bindep_file is defined
- include: install.yaml
- include_tasks: install.yaml
when:
- bindep_file is defined
- bindep_command is not defined
@ -15,5 +15,5 @@
bindep_run: "{{ bindep_command }} -b -f {{ bindep_file }} {{ bindep_profile }}"
when: bindep_file is defined
- include: packages.yaml
- include_tasks: packages.yaml
when: bindep_file is defined