From 3f5469dca86069c56f6321d76a3953fb2d640e72 Mon Sep 17 00:00:00 2001 From: Thorina Boenke <68156005+thorinaboenke@users.noreply.github.com> Date: Wed, 10 Jul 2024 09:21:56 +0200 Subject: [PATCH] use include_tasks instead of deprecated include Fixes the following error: openstack.builder: ERROR! [DEPRECATED]: ansible.builtin.include has been removed. Use include_tasks or import_tasks instead. This feature was removed from ansible-core in a release after 2023-05-16. Please update your playbooks. --- tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 14a7ee3..773d2c3 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,9 +1,9 @@ --- -- include: debian.yml +- include_tasks: debian.yml when: ansible_os_family == 'Debian' -- include: configs.yml +- include_tasks: configs.yml -- include: configsipv6.yml +- include_tasks: configsipv6.yml when: shorewall6_configs != False