mg
ce709e7918
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#329 Co-authored-by: mg <michael.grote@posteo.de> Co-committed-by: mg <michael.grote@posteo.de>
14 lines
390 B
YAML
14 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
|