---
- hosts: all
tasks:
- name: telegraf deinstallieren
become: yes
ansible.builtin.package:
name: telegraf
state: absent
- name: telegraf-repository entfernen
apt_repository:
repo: 'deb https://repos.influxdata.com/ubuntu {{ ansible_distribution_release }} stable'
filename: telegraf_repo