From c041fe8ac527dac130ebd247e5655d5e43374137 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 12 Mar 2024 00:37:35 +0100 Subject: [PATCH] Fix: Replace deprecated `include` builtin Signed-off-by: Knut Ahlers --- tasks/Debian.yml | 2 +- tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/Debian.yml b/tasks/Debian.yml index 48cb971..16e7a5f 100644 --- a/tasks/Debian.yml +++ b/tasks/Debian.yml @@ -1,5 +1,5 @@ --- -- include: Ubuntu.yml +- include_tasks: Ubuntu.yml ... diff --git a/tasks/main.yml b/tasks/main.yml index 92dfedb..dbbbe92 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,7 +1,7 @@ --- - name: "Loading distribution specific instructions for {{ ansible_distribution }}" - include: "{{ ansible_distribution }}.yml" + include_tasks: "{{ ansible_distribution }}.yml" - name: Set up checks file for ELB Instance Status template: