mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
Merge pull request #53 from tjend/remove_include_deprecation_warning
Changed 'include' to 'include_tasks' to remove deprecation warning
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user