[TIDY] Set some "diff: false", fix linter warnings

This commit is contained in:
Jannik Beyerstedt 2023-04-28 23:25:21 +02:00
parent f97ef4dee6
commit fe97b0ae76
19 changed files with 189 additions and 175 deletions

View file

@ -1,33 +1,35 @@
---
# Server/Telegraf: Install and Setup Telegraf Monitoring - Debian Version
- name: telegraf - Install apt-transport-https
become: yes
- name: Telegraf - Install apt-transport-https
become: true
ansible.builtin.apt:
name: apt-transport-https
state: present
- name: telegraf - Add telegraf repo key
become: yes
diff: false
- name: Telegraf - Add telegraf repo key
become: true
ansible.builtin.apt_key:
url: https://repos.influxdata.com/influxdata-archive_compat.key
state: present
- name: telegraf - Add telegraf repo
become: yes
- name: Telegraf - Add telegraf repo
become: true
ansible.builtin.apt_repository:
repo: "deb https://repos.influxdata.com/debian {{ ansible_distribution_release }} stable"
state: present
- name: telegraf - Install telegraf
become: yes
- name: Telegraf - Install telegraf
become: true
ansible.builtin.apt:
name: telegraf
state: latest
update_cache: yes
update_cache: true
cache_valid_time: 3600
diff: false
# Install SNMP utilities for telegraf monitoring
- name: telegraf - Install SNMP utilities
- name: Telegraf - Install SNMP utilities
when: telegraf_ubnt_ns_ips is defined
become: yes
become: true
ansible.builtin.apt:
name: "{{ packages }}"
state: present
@ -35,3 +37,4 @@
packages:
- snmp
- snmp-mibs-downloader
diff: false