From 08416516bf00948caf272193ffa97717bdf106e4 Mon Sep 17 00:00:00 2001 From: Troy Jendra Date: Fri, 11 May 2018 08:09:37 +1000 Subject: [PATCH] Changed 'include' to 'include_tasks' to remove deprecation warning --- tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index dada84a..0f850ef 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,15 +2,15 @@ # tasks file for ansible-telegraf - name: "Install the correct repository" - include: "RedHat.yml" + include_tasks: "RedHat.yml" when: ansible_os_family == "RedHat" - name: "Install the correct repository" - include: "Debian.yml" + include_tasks: "Debian.yml" when: ansible_os_family == "Debian" tags: - telegraf - packages - name: "Configure telegraf" - include: "configure.yml" + include_tasks: "configure.yml"