homeserver/playbooks/on-off/deinstall_telegraf.yml

15 lines
390 B
YAML
Raw Normal View History

2020-08-18 11:57:53 +02:00
---
- hosts: all
tasks:
- name: telegraf deinstallieren
become: yes
ansible.builtin.package:
2020-08-18 11:57:53 +02:00
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