[FIX] misc centos issues

This commit is contained in:
Jannik Beyerstedt 2020-03-08 17:56:50 +01:00
parent 24a10d19a9
commit 4c11ea5dfe
6 changed files with 71 additions and 37 deletions

View file

@ -7,7 +7,7 @@
with_first_found:
- "telegraf-{{ ansible_distribution }}.{{ ansible_distribution_release }}.yml"
- "telegraf-{{ ansible_distribution }}.yml"
- "telegraf-{{ ansible_os_family }}.yml"
- "telegraf-{{ (override_os_family is defined) | ternary(override_os_family,ansible_os_family) }}.yml"
# Configure
- name: telegraf - Copy telegraf config