32 lines
733 B
YAML
32 lines
733 B
YAML
|
---
|
||
|
# Server/Telegraf: Install and Setup Telegraf Monitoring - FreeBSD Version
|
||
|
|
||
|
- name: telegraf - Install telegraf
|
||
|
become: yes
|
||
|
ansible.builtin.package:
|
||
|
name: telegraf
|
||
|
state: latest
|
||
|
|
||
|
# # Install SNMP utilities for telegraf monitoring
|
||
|
# - name: telegraf - Install SNMP utilities
|
||
|
# become: yes
|
||
|
# ansible.builtin.package:
|
||
|
# name: "{{ packages }}"
|
||
|
# state: present
|
||
|
# vars:
|
||
|
# packages:
|
||
|
# - snmp
|
||
|
# - snmp-mibs-downloader
|
||
|
# when: telegraf_ubnt_ns_ips is defined
|
||
|
|
||
|
- name: telegraf - Install SNMP utilities
|
||
|
become: yes
|
||
|
ansible.builtin.package:
|
||
|
name: "{{ packages }}"
|
||
|
state: present
|
||
|
vars:
|
||
|
packages:
|
||
|
- snmp
|
||
|
- snmp-mibs-downloader
|
||
|
when: telegraf_ubnt_ns_ips is defined
|