From 534968883de0e354e9f050199e5df918f65177ce Mon Sep 17 00:00:00 2001 From: Albin Vass Date: Mon, 25 May 2020 20:33:26 +0200 Subject: [PATCH] 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 --- roles/bindep/tasks/main.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/bindep/tasks/main.yaml b/roles/bindep/tasks/main.yaml index 978518f8b..da87414e8 100644 --- a/roles/bindep/tasks/main.yaml +++ b/roles/bindep/tasks/main.yaml @@ -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