ansible-netdata icon indicating copy to clipboard operation
ansible-netdata copied to clipboard

Warning: configure.yml / install_release.yml is empty and had no tasks to include

Open kachkaev opened this issue 6 years ago • 1 comments

Hi Geoffrey and thanks for this Ansible role! I've been using it for over a year and it saved me tones of time!

I'm opening this issue after upgrading my local copy of your role and seeing these two warnings when applying it:

[WARNING]: file /path/to/roles/jffz.netdata/tasks/configure.yml is empty and had no tasks to include
[WARNING]: file /path/to/roles/jffz.netdata/tasks/install_release.yml is empty and had no tasks to include

Deleting these two empty files does not help, but there is still something we can do to suppress the warnings. Just adding this yaml to both files seems to do the trick:

---
[]

What do you think of making this change?

kachkaev avatar Aug 05 '18 11:08 kachkaev

Thanks @kachkaev for noticing that! Those files are here just to mark future development of this role and including them should be commented-out.

I have already pushed a patch for this in https://github.com/jffz/ansible-netdata/commit/9d9f586ba233e4673162a25f899c5e202b44f894 on master branch.

paulfantom avatar Aug 05 '18 16:08 paulfantom