Merge pull request #53 from tjend/remove_include_deprecation_warning

Changed 'include' to 'include_tasks' to remove deprecation warning
This commit is contained in:
Werner Dijkerman
2018-05-11 07:49:01 +02:00
committed by GitHub

View File

@ -2,15 +2,15 @@
# tasks file for ansible-telegraf # tasks file for ansible-telegraf
- name: "Install the correct repository" - name: "Install the correct repository"
include: "RedHat.yml" include_tasks: "RedHat.yml"
when: ansible_os_family == "RedHat" when: ansible_os_family == "RedHat"
- name: "Install the correct repository" - name: "Install the correct repository"
include: "Debian.yml" include_tasks: "Debian.yml"
when: ansible_os_family == "Debian" when: ansible_os_family == "Debian"
tags: tags:
- telegraf - telegraf
- packages - packages
- name: "Configure telegraf" - name: "Configure telegraf"
include: "configure.yml" include_tasks: "configure.yml"