homeserver/playbooks/on-off/deinstall_telegraf.yml
mg e9f78f93eb Ersetze ansible.builtin.apt module durch ansible.builtin.package (#20)
Bugfix: acng

ansible.builtin.apt --> ansible.builtin.package

Co-authored-by: Michael Grote <38253905+quotengrote@users.noreply.github.com>
Reviewed-on: mg/ansible#20
Co-Authored-By: mg <michael.grote@posteo.de>
Co-Committed-By: mg <michael.grote@posteo.de>
2021-01-02 10:30:54 +01:00

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