homeserver/playbooks/on-off/deinstall_telegraf.yml

15 lines
390 B
YAML

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