diff --git a/tasks/telegraf.yml b/tasks/telegraf.yml index d122e2d..b90c552 100644 --- a/tasks/telegraf.yml +++ b/tasks/telegraf.yml @@ -14,7 +14,7 @@ - name: telegraf - Add Telegraf repo become: yes apt_repository: - repo: deb https://repos.influxdata.com/debian stretch stable + repo: "deb https://repos.influxdata.com/debian {{ ansible_distribution_release }} stable" state: present - name: telegraf - Install telegraf become: yes